Use Semantic UI dropdowns for preferential voting
This commit is contained in:
parent
a47164fc53
commit
66379909a1
@ -47,7 +47,7 @@
|
|||||||
{% macro printchoice(choice, ticket=None) %}
|
{% macro printchoice(choice, ticket=None) %}
|
||||||
<div class="preferential-choice" data-choiceno="{{ flat_choices.indexOf(choice) }}">
|
<div class="preferential-choice" data-choiceno="{{ flat_choices.indexOf(choice) }}">
|
||||||
<div class="number">
|
<div class="number">
|
||||||
<select>
|
<select class="ui dropdown">
|
||||||
<option selected></option>
|
<option selected></option>
|
||||||
{% for i in range(flat_choices|length) %}
|
{% for i in range(flat_choices|length) %}
|
||||||
<option>{{ i + 1 }}</option>
|
<option>{{ i + 1 }}</option>
|
||||||
@ -78,7 +78,7 @@
|
|||||||
{# Ticket #}
|
{# Ticket #}
|
||||||
<div class="preferential-choice ticket">
|
<div class="preferential-choice ticket">
|
||||||
<div class="number">
|
<div class="number">
|
||||||
<select>
|
<select class="ui dropdown">
|
||||||
<option selected></option>
|
<option selected></option>
|
||||||
{% for i in range(flat_choices|length) %}
|
{% for i in range(flat_choices|length) %}
|
||||||
<option>{{ i + 1 }}</option>
|
<option>{{ i + 1 }}</option>
|
||||||
|
Loading…
Reference in New Issue
Block a user