Restore form field location

Ugh, how did that happen
This commit is contained in:
Midgard 2020-02-29 20:04:14 +01:00
parent 076fb9880e
commit f2112ec26d
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -53,8 +53,8 @@
{{ util.render_form_field_errors(form.dish_id) }}
</div>
{% if dish and dish.choices %}
<input type="hidden" name="form_for_dish" value="{{ dish.id }}" />
{% if dish and dish.choices %}
{% for (choice_type, choice) in dish.choices %}
<div class="form-group select2-container select2">
<label class="control-label" for="choice_{{ choice.id }}">{{ choice.name }}</label><br/>