Skip to content

Commit

Permalink
fixed edit email in order
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetragramat committed Jul 27, 2016
1 parent 414f48f commit cec4c13
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,16 @@
<div class="list-group-item-text">{{ form_widget(form.state) }}</div>
</div>
<div class="list-group-item">
<h4 class="list-group-item-heading">{{ 'sylius.user.email'|trans }}</h4>
<h4 class="list-group-item-heading">
{{ 'sylius.user.email'|trans }}
<small class="pull-right">
{% if order.user %}
<a href="{{ path('sylius_backend_user_show', {'id': order.user.id}) }}">{{ order.user.email }}</a>
{% endif %}
</small>
</h4>
<div class="list-group-item-text">
{% if not order.user %}
{{ form_widget(form.email) }}
{% else %}
{{ order.email }}
{% endif %}
{{ form_widget(form.email) }}
</div>
</div>
<div class="list-group-item">
Expand Down

0 comments on commit cec4c13

Please sign in to comment.