14 lines
482 B
HTML
14 lines
482 B
HTML
|
<div class="select is-fullwidth">
|
||
|
<select form="deck-form"
|
||
|
id="deck-load-id"
|
||
|
name="deck-load-id"
|
||
|
onchange="this.options[this.selectedIndex].value && (window.location = '/decks/' + this.options[this.selectedIndex].value + '/view');">
|
||
|
<option value="">Deck Name</option>
|
||
|
{% for deck in decks %}
|
||
|
<option value="{{ deck.id }}"{% if deck.id == id %} selected{% endif %}>
|
||
|
{{ deck.name }}
|
||
|
</option>
|
||
|
{% endfor %}
|
||
|
</select>
|
||
|
</div>
|