diff --git a/src/Sylius/Bundle/WebBundle/Resources/views/Backend/Order/_form.html.twig b/src/Sylius/Bundle/WebBundle/Resources/views/Backend/Order/_form.html.twig index c8a4766d8d3..3c4ec2b052f 100644 --- a/src/Sylius/Bundle/WebBundle/Resources/views/Backend/Order/_form.html.twig +++ b/src/Sylius/Bundle/WebBundle/Resources/views/Backend/Order/_form.html.twig @@ -37,13 +37,16 @@
{{ form_widget(form.state) }}
-

{{ 'sylius.user.email'|trans }}

+

+ {{ 'sylius.user.email'|trans }} + + {% if order.user %} + {{ order.user.email }} + {% endif %} + +

- {% if not order.user %} - {{ form_widget(form.email) }} - {% else %} - {{ order.email }} - {% endif %} + {{ form_widget(form.email) }}