{% extends 'users/base.html' %}
{% from 'forms/_form.html' import form_header, form_rows, form_footer  %}
{% from '_switch.html' import switch %}

{% block user_content %}
    <div class="i-box">
        <div class="i-box-header">
            <div class="i-box-title">
                {%- trans %}Preferences{% endtrans -%}
            </div>
        </div>
        <div class="i-box-content">
            {{ form_header(form) }}
            {{ form_rows(form) }}
            {% call form_footer(form) %}
                <input class="ui primary button" type="submit" value="{% trans %}Save{% endtrans %}" data-disabled-until-change>
            {% endcall %}
        </div>
    </div>
{% endblock %}
