{% extends "admin/admin/layout.html" %} {% load i18n %} {% load l10n %} {% load url from future %} {% import "_forms.html" as form_theme with context %} {% block action_body %}
{{ form_theme.form_hidden_widget(form) }} {% for fieldset in form.fieldsets %} {% for field in fieldset.fields %} {% endfor %}
{{ fieldset.legend }} {% trans %}Permission{% endtrans %}
{{ field.label }}{% if field.help_text %}
{{ field.help_text }}
{% endif %}
{{ form_theme.field_widget(field, width=4) }}
{% endfor %}
{% 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 %}