{% from 'forms/_form.html' import form_header, form_footer, form_rows, form_fieldset %}

{{ form_header(form) }}
{% call form_fieldset(_('General Settings')) %}
    {{ form_rows(form, skip=form._notification_fields) }}
{% endcall %}
{% call form_fieldset(_('Notifications')) %}
    {{ form_rows(form, fields=form._notification_fields) }}
{% endcall %}
{% call form_footer(form) %}
    <input class="i-button big highlight" type="submit" value="{% trans %}Save{% endtrans %}" data-disabled-until-change>
    <a href="{{ url_for('.manage_survey', survey) if survey else url_for('.manage_survey_list', event) }}"
       class="i-button big" data-button-back>
        {% trans %}Cancel{% endtrans %}
    </a>
{% endcall %}
