You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
347 B
8 lines
347 B
2 years ago
|
{% set values_amount = values|length %}
|
||
|
{% set selected_values = current_values|split(',') %}
|
||
|
<select class="resize-vertical" size="{{ values_amount < 10 ? values_amount : 10 }}" multiple>
|
||
|
{% for value in values %}
|
||
|
<option value="{{ value|raw }}"{{ value in selected_values ? ' selected' }}>{{ value|raw }}</option>
|
||
|
{% endfor %}
|
||
|
</select>
|