1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-29 14:34:37 +04:00
Files
tabler/pages/_includes/parts/form/select.html
T
2020-01-29 22:22:44 +01:00

10 lines
381 B
HTML

{% assign options = include.options | default: "One,Two,Three" | split: "," %}
<div class="mb-3">
<div class="form-label">{{ include.label | default: 'Select' }}</div>
<select class="form-select"{% if include.multiple %} multiple{% endif %}>
{% for option in options %}
<option value="{{ forloop.index }}">{{ option }}</option>
{% endfor %}
</select>
</div>