server/src/main/webapp/WEB-INF/templates/fragment/userForm.html
branchuser_management
changeset 239 67c2b0fb9b19
parent 237 0e6c826a046e
--- 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">