Send a main when opening a vote
[cavote.git] / templates / admin_vote_edit.html
index 85c38fa..42eef08 100644 (file)
                   <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>