modify mail notification to make it optional
[cavote.git] / templates / admin_vote_edit.html
index 1b0c3eb..4a45935 100644 (file)
                 {% 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">