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

{% block title %}
    {% if survey %}
        {% trans %}Survey{% endtrans %}
    {% else %}
        {% trans %}Surveys{% endtrans %}
    {% endif %}
{% endblock %}

{% block subtitle %}
    {% if survey %}
        {% trans title=survey.title -%}Edit "{{ title }}"{%- endtrans %}
    {% else %}
        {%- trans %}Create survey{% endtrans -%}
    {% endif %}
{% endblock %}

{% block content %}
    {{ 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_list', event) }}" class="i-button big" data-button-back>
            {% trans %}Cancel{% endtrans %}
        </a>
    {% endcall %}
{% endblock %}

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

{% block title %}
    {% if survey %}
        {% trans %}Survey{% endtrans %}
    {% else %}
        {% trans %}Surveys{% endtrans %}
    {% endif %}
{% endblock %}

{% block subtitle %}
    {% if survey %}
        {% trans title=survey.title -%}Edit "{{ title }}"{%- endtrans %}
    {% else %}
        {%- trans %}Create survey{% endtrans -%}
    {% endif %}
{% endblock %}

{% block content %}
    {{ 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) }}" class="i-button big" data-button-back>
            {% trans %}Cancel{% endtrans %}
        </a>
    {% endcall %}
{% endblock %}

Fix survey edit back button
Fix survey edit back button
