LiveSync: Adapt to form_header/form_footer changes

This commit is contained in:
Adrian Moennich 2015-06-09 11:52:26 +02:00
parent 41f9c32c72
commit b7f9194d12

View File

@ -16,12 +16,12 @@
{% endblock %}
{% block content %}
{{ form_header() }}
{{ form_header(form) }}
{% for field in form.visible_fields %}
{{ form_row(field) }}
{% endfor %}
{% call form_footer() %}
<input class="i-button big highlight" type="submit" value="{% trans %}Save{% endtrans %}">
{% call form_footer(form) %}
<input class="i-button big highlight" type="submit" value="{% trans %}Save{% endtrans %}" data-disabled-until-change>
<a href="{{ url_for('plugins.details', plugin='livesync') }}" class="i-button big">{% trans %}Cancel{% endtrans %}</a>
{% endcall %}
{% endblock %}