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