{% load i18n %} {% load bootstrap3 %} {% load mail_settings_preview %}

{% trans title %}

{% with exclude|split as exclusion %} {% with items|split as item_list %} {% for item in item_list %} {% if item in exclusion %} {% with form|getattr:item as field %} {% bootstrap_field field layout="horizontal" %} {% endwith %} {% else %}
{% with form|getattr:item as field %}
{% bootstrap_field field show_label=False form_group_class="" %}
{% for l in request.event.settings.locales %}
{% endfor %}
{% endwith %}
{% endif %} {% endfor %} {% endwith %} {% endwith %}