Eliminate excessive whitespace in options
These would show when editing the option by pressing backspace
This commit is contained in:
parent
6495184af2
commit
2b962e99d4
1 changed files with 4 additions and 4 deletions
|
@ -63,10 +63,10 @@
|
|||
name="choice_{{ choice.id }}"
|
||||
class="form-control select">
|
||||
{% for option in choice.options %}
|
||||
<option value="{{ option.id }}">
|
||||
{{ option.name }}{{ ": " + option.price|euro if option.price else "" }}
|
||||
{{ " (" + option.description + ")" if option.description else "" }}
|
||||
</option>
|
||||
<option value="{{ option.id }}"><!--
|
||||
-->{{ option.name }}{{ ": " + option.price|euro if option.price else "" }}<!--
|
||||
-->{{ " (" + option.description + ")" if option.description else "" }}<!--
|
||||
--></option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue