{% extends "admin/base_site.html" %} {% load i18n l10n %} {% load url from future %} {% load admin_urls static utils %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% csrf_token %} {% if diff %} {% blocktrans %}

The following changes will be performed to {{ settings_file }} file.

{% endblocktrans %}
{{ diff }}
{{ form.management_form }} {% for form in form %} {{ form }} {% endfor %}
{% else %} {% blocktrans %}

{{ settings_file }} file will be automatically updated and Orchestra restarted according to your changes. {% endblocktrans %} {% if form.errors %}

{% trans "Please correct the errors below." %}

{{ form.non_form_errors.as_ul }} {% endif %} {{ form.management_form }} {% regroup form.forms by app as formlist %} {% for app in formlist %}

{{ app.grouper|lower|capfirst }}

{% for form in app.list %} {{ form.non_field_errors }} {% if forloop.first %} {% for field in form.visible_fields %} {% endfor %} {% endif %} {% for field in form.visible_fields %} {% endfor %} {% endfor %}
{{ field.label|capfirst }}
{# Include the hidden fields in the form #} {% if forloop.first %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %} {% endif %} {{ field.errors.as_ul }}
{{ field }}{% if forloop.last %}{% if form.changed %}
*
{% endif %}{% endif %}

{{ field.help_text }}

{% endfor %}
{% endif %}
{% endblock %}