diff --git a/generic/templates/generic/cidusergroup_form.html b/generic/templates/generic/cidusergroup_form.html index a9e758ab..8bd3f9b5 100755 --- a/generic/templates/generic/cidusergroup_form.html +++ b/generic/templates/generic/cidusergroup_form.html @@ -23,28 +23,46 @@
{% csrf_token %} - - {{ form.as_table }} -
- - - - {% if cidusergroup %} -

Users can be added to the group here

- -

Users

- - - Count: {{cidusergroup.ciduser_set.count}} - {% endif %} - +
+
+
+
+ {% for field in form.visible_fields %} +
+ {{ field.label_tag }} + {{ field }} + {% if field.help_text %} +
{{ field.help_text }}
+ {% endif %} + {% if field.errors %} +
{{ field.errors|striptags }}
+ {% endif %} +
+ {% endfor %} +
+ + Manage CIDs +
+
+
+ {% if cidusergroup %} +
Users currently in this group
+
    + {% for user in cidusergroup.ciduser_set.all %} +
  • + {{ user.cid }} +
    {{ user.name }} · {{ user.email }}
    +
  • + {% empty %} +
  • Group currently has no users.
  • + {% endfor %} +
+
Count: {{ cidusergroup.ciduser_set.count }}
+ {% endif %} +
+
+
+
{% endblock %} \ No newline at end of file