--- a/server/src/main/webapp/WEB-INF/templates/fragment/userForm.html Mon Jan 06 10:06:50 2014 +0100
+++ b/server/src/main/webapp/WEB-INF/templates/fragment/userForm.html Tue Jan 14 18:02:42 2014 +0100
@@ -130,6 +130,13 @@
<label for="locked" th:text="#{renkanAdmin.form.locked}">Locked: </label>
<input type="checkbox" th:field="*{locked}" />
</div>
+<!-- todo: only user of admin group can see that -->
+ <div>
+ <label for="groups" th:text="#{renkanAdmin.form.groups}">Groups: </label>
+ <select th:field="*{groups}" multiple="multiple">
+ <option th:each="group: ${allGroups}" th:value="${group.id}" th:text="${group.title}">GROUP</option>
+ </select>
+ </div>
<div>
<label for="userAuthorities" th:text="#{renkanAdmin.form.roles}">Roles: </label>
<select th:field="*{userAuthorities}" multiple="multiple">