{% extends "admin/layout.html" %} {% from "admin/macros.html" import page_title, draw_message %} {% import "forms.html" as form_theme with context %} {% block title %}{{ page_title(title=_(active_group.name), parent=_('Settings')) }}{% endblock %} {% block content %}
{% block action %}

{{ _(active_group.name) }}

{% if message %} {{ draw_message(message, 'alert-form') }} {% endif %} {% if active_group.description %}

{{ _(active_group.description) }}

{% endif %}
{% for fieldset in form %}
{% if fieldset.name %}{{ fieldset.name }}{% endif %} {% for field in fieldset %} {% if field.field.widget.__class__.__name__ in ('CheckboxInput', 'YesNoSwitch') %} {{ form_theme.row(field) }} {% else %} {{ form_theme.row(field, attrs={'class': 'span9'}) }} {% endif %} {% endfor %}
{% endfor %}
{% endblock %}
{% endblock %} {# Language strings macros #} {% macro lang_search_settings() -%}{% trans %}Search Settings...{% endtrans %}{%- endmacro %}