{% extends "admin/admin/layout.html" %} {% load i18n %} {% load l10n %} {% load url from future %} {% import "_forms.html" as form_theme with context %} {% block action_body %}
{% if tabbed %} {{ form_theme.form_hidden_widget(form) }}
{% for fieldset in form.fieldsets %}
{{ fieldset.legend }}{% for field in fieldset.fields %} {{ form_theme.row_widget(field) }}{% endfor %}
{% endfor %}
{% else %} {{ form_theme.form_widget(form) }} {% endif %}
{% block form_actions %} {% block form_submit %} {% endblock %} {% if action.get_edit_url -%} {%- endif %} {% if action.get_new_url -%} {%- endif %} {% if fallback %}{% trans %}Cancel{% endtrans %}{% endif %} {% endblock %}
{% endblock %} {% block javascripts %} {{ super() }} {% if tabbed %} {% endif %} {% endblock %}