{% extends "admin/base_site.html" %}
{% load i18n admin_urls static admin_modify %}

{% block extrahead %}{{ block.super }}
<script src="{% url 'admin:jsi18n' %}"></script>
{{ media }}
{% endblock %}

{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>
&rsaquo; <a href="{% url 'admin:app_list' app_label='core' %}">Core</a>
&rsaquo; <a href="{% url 'admin:core_platformprofile_changelist' %}">Platform Profiles</a>
&rsaquo; Test Email Configuration
</div>
{% endblock %}

{% block content %}
<div id="content-main">
    <form method="post">
    {% csrf_token %}
    <div>
        <fieldset class="module aligned">
            <h2>Test Email Configuration</h2>
            <div class="form-row">
                <label for="id_email" class="required">Target Email Address:</label>
                <input type="email" name="email" id="id_email" value="{{ email }}" required size="40">
                <div class="help">Enter the email address to receive the test message.</div>
            </div>
        </fieldset>
        
        <div class="submit-row">
            <input type="submit" value="Send Test Email" class="default" name="_save">
            <a href="../" class="button closelink" style="margin-left: 10px;">Go Back</a>
        </div>
    </div>
    </form>
</div>
{% endblock %}