{% if user %} {{ form_ajax('onUpdate', { model: user }) }}
{% for setting,attributes in account.updateSettings %}
{% endfor %} {{ form_close() }} {% endif %}