
{% extends 'admin/change_form.html' %}
{% load i18n admin_urls admin_static admin_modify staticfiles %}

{% if not is_popup %}
{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_config.verbose_name }}</a>
&rsaquo; <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>
&rsaquo; {% trans 'Invite' %} {{ opts.verbose_name }}
</div>
{% endblock %}
{% endif %}

{% block content %}
<div id="content-main">
    <form enctype="multipart/form-data" action="" method="POST" id="{{ opts.model_name }}_form" novalidate>
        {% csrf_token %}
        {% if errors %}
            <p class="errornote">
            {% if errors|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
            </p>
            {{ adminform.form.non_field_errors }}
        {% endif %}

        {% for fieldset in adminform %}
          {% include "admin/includes/fieldset.html" %}
        {% endfor %}

        <div class="submit-row">
            <input type="submit" value="Submit" class="default" name="_save">
        </div>
    </form>
</div>
{% endblock %}
