Bug fix (was sending reminders only for 1 vote and not all)
[cavote.git] / templates / admin_user_new.html
index e3678d0..8db2711 100644 (file)
     <label class="control-label" for="username">Nom</label>
     <div class="controls">
       <input type="text" name="username" id="username" value="{{ request.form.username }}" />
+      <span class="help-inline"><font color="red">*</font></span>
+    </div>
+  </div>
+  <div class="control-group">
+    <label class="control-label" for="openid">OpenID</label>
+    <div class="controls">
+      <input type="text" name="openid" id="openid" value="{{ request.form.openid }}" />
     </div>
   </div>
   <div class="control-group">
     <label class="control-label" for="organization">Association</label>
     <div class="controls">
-      <input type="text" data-provide="typeahead" data-source='["FDN","Ilico","Aquilenet"]' size=30 name="organization" id="organization" value="{{ request.form.organization }}" />
+      <input type="text" data-provide="typeahead" data-source='["NDN","FDN","Ilico","Aquilenet"]' size=30 name="organization" id="organization" value="{{ request.form.organization }}" />
     </div>
   </div>
   <div class="control-group">
-    <label class="control-label" for="role">Groupes</label>
+    <label class="control-label" for="groups">Groupes</label>
     <div class="controls">
-      <select name="role" id="role" multiple>
-        <option selected>CA</option>
-        <option>Membres</option>
+      <select name="groups" id="groups" multiple>
+        {% for group in groups %}
+        <option value="{{ group.id }}">{{ group.name }}</option>
+        {% endfor %}
       </select>
     </div>
   </div>