{% extends 'base.html.twig' %} {% block title %}{{ 'box.change_address.title'|trans({'email': entity.address}) }}{% endblock %} {% block body -%} {{ form_start(form) }}
{{ form_widget(form.user, {attr: {style: 'display: inline; width: 30%; margin: 0'}}) }} @ {%- if form.domain is defined %}  {{ form_widget(form.domain, {attr: {style: 'display: inline; width: 60%; margin: 0'}}) }} {% else -%} {{ app.user.domain }} {% endif %} {{ form_errors(form.user) }} {% if form.domain is defined %} {{ form_errors(form.domain) }} {% endif %}
{{ form_rest(form) }}

{{ 'back.to_list'|trans }} {% endblock %} {% block javascripts %} {% include 'Base/Box/_form_password_js.html.twig' with {password_element_id: 'passwordPlaintext'}%} {% endblock %} {% block stylesheets %} {% endblock %}