Skip to content

Commit

Permalink
Do not make product variant's fields empty while editing simple product
Browse files Browse the repository at this point in the history
  • Loading branch information
pamil committed Mar 15, 2017
1 parent cd65b73 commit a08960a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

{# Nothing to see here. #}
<div class="ui hidden element">
{{ form_row(form.variant.translations) }}
{{ form_row(form.variantSelectionMethod) }}
</div>
</div>
Expand Down Expand Up @@ -53,6 +54,11 @@
<h4 class="ui dividing header">{{ 'sylius.ui.taxes'|trans }}</h4>
{{ form_row(form.variant.taxCategory) }}
</div>
<div class="ui segment">
<h4 class="ui dividing header">{{ 'sylius.ui.availability'|trans }}</h4>
{{ form_row(form.variant.availableOn) }}
{{ form_row(form.variant.availableUntil) }}
</div>
</div>
</div>
{% endif %}
Expand Down

0 comments on commit a08960a

Please sign in to comment.