{% extends "admin/change_form.html" %} {% load l10n i18n admin_urls static %} {% block extrahead %} {{ block.super }} {{ form.media }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block content_title %}

{{ tool_label }}

{% endblock %} {% block content_subtitle %}{% if takes_object %}

{{ object }}

{% endif %}{% endblock %} {% block content %}
{% csrf_token %} {% if is_changelist_action %} {% for obj in queryset %} {% endfor %} {% endif %}
{% if form.errors %}

{% if form.errors|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}

{{ adminform.form.non_field_errors }} {% endif %} {% block formfields %}
{% for field in form %}
{{ field.errors }}
{% if field.is_checkbox %} {{ field.field }}{{ field.label_tag }} {% else %} {{ field.label_tag }} {% if field.is_readonly %}
{{ field.contents }}
{% else %} {{ field }} {% endif %} {% endif %}
{% if field.help_text %}
{{ field.help_text|safe }}
{% endif %}
{% endfor %} {% endblock %}
{% endblock %}