Eliminate excessive whitespace in options

These would show when editing the option by pressing backspace
This commit is contained in:
Midgard 2020-02-24 14:33:43 +01:00
parent 6495184af2
commit 2b962e99d4
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -63,10 +63,10 @@
name="choice_{{ choice.id }}" name="choice_{{ choice.id }}"
class="form-control select"> class="form-control select">
{% for option in choice.options %} {% for option in choice.options %}
<option value="{{ option.id }}"> <option value="{{ option.id }}"><!--
{{ option.name }}{{ ": " + option.price|euro if option.price else "" }} -->{{ option.name }}{{ ": " + option.price|euro if option.price else "" }}<!--
{{ " (" + option.description + ")" if option.description else "" }} -->{{ " (" + option.description + ")" if option.description else "" }}<!--
</option> --></option>
{% endfor %} {% endfor %}
</select> </select>
</div> </div>