Restore form field location
Ugh, how did that happen
This commit is contained in:
parent
076fb9880e
commit
f2112ec26d
1 changed files with 1 additions and 1 deletions
|
@ -53,8 +53,8 @@
|
||||||
{{ util.render_form_field_errors(form.dish_id) }}
|
{{ util.render_form_field_errors(form.dish_id) }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<input type="hidden" name="form_for_dish" value="{{ dish.id }}" />
|
||||||
{% if dish and dish.choices %}
|
{% if dish and dish.choices %}
|
||||||
<input type="hidden" name="form_for_dish" value="{{ dish.id }}" />
|
|
||||||
{% for (choice_type, choice) in dish.choices %}
|
{% for (choice_type, choice) in dish.choices %}
|
||||||
<div class="form-group select2-container select2">
|
<div class="form-group select2-container select2">
|
||||||
<label class="control-label" for="choice_{{ choice.id }}">{{ choice.name }}</label><br/>
|
<label class="control-label" for="choice_{{ choice.id }}">{{ choice.name }}</label><br/>
|
||||||
|
|
Loading…
Reference in a new issue