<input type="text" data-provide="typeahead" data-source='["ca","membres"]' size=30 name="category" id="category" value="{{ vote.category }}" />
</div>
</div>
+ <div class="control-group">
+ <label class="control-label" for="category">Quorum</label>
+ <div class="controls">
+ <select name="quorum" id="quorum">
+ {% for quorum in quorums %}
+ {% if quorum == vote.quorum %}
+ <option value="{{ quorum }}" selected>{{ quorum * 100 }}%</option>
+ {% else %}
+ <option value="{{ quorum }}">{{ quorum * 100 }}%</option>
+ {% endif %}
+ {% endfor %}
+ </select>
+ </div>
+ </div>
<div class="control-group">
<label class="control-label" for="role">Groupe</label>
<div class="controls">
<span class="help-inline">Du {{ vote.date_begin }} au {{ vote.date_end }}</span>
</div>
</div>
+ <div class="control-group">
+ <label class="control-label" for="reminder">Rappel par mail les</label>
+ <div class="controls">
+ <select class="span1" name="reminder" id="reminder">
+ {% for i in range(1, 31) %}
+ {% if i == vote.reminder_last_days %}
+ <option selected>{{ i }}</option>
+ {% else %}
+ <option>{{ i }}</option>
+ {% endif %}
+ {% endfor %}
+ </select>
+ <span class="help-inline">derniers jours</span>
+ </div>
+ </div>
</div>
</div>
</div>
</label>
{% if not vote.is_terminated == 1 %}
<label class="checkbox">
- <input type="checkbox" name="multiplechoice" {% if vote.is_multiplechoice == 1 %} checked {% endif %} disabled/>
- Les votants peuvent-ils choisir plusieurs options ?
+ <input type="checkbox" name="anonymous" {% if vote.is_anonymous == 1 %} checked {% endif %} disabled/>
+ Les votes sont-ils anonymes ?
</label>
{% endif %}
</div>
</div>
+ <div class="control-group">
+ <label class="control-label" for="value">Valeurs</label>
+ <div class="controls">
+ <select name="value" id="value" disabled>
+ <option>{{ values_ }}</option>
+ </select>
+ </div>
+ </div>
</div>
</div>
</div>
{% else %}
<option selected>Fermé</option>
<option>Ouvert</option>
+ <option>Terminé</option>
{% endif %}
{% endif %}
</select>
+ {% if vote.is_open == 0 %}
+ <label class="checkbox">
+ <input type="checkbox" name="mail_notice" checked />
+ Notifier par courriel
+ </label>
+ {% endif %}
</div>
</div>
<div class="form-actions">