<ui:define name="content">
<h:form id="form-list-users">
<p:dataTable
- id="table-list-users"
+ id="userList"
var="user"
value="#{userController.allUsers()}"
tableStyleClass="table table-full"
<h:outputText value="#{msg.ADMIN_LIST_USERS_HEADER}" />
<p:commandButton id="toggler" type="button" value="#{msg.SELECT_SHOWN_COLUMNS}" styleClass="column-selector" />
- <p:columnToggler datasource="table-list-users" trigger="toggler" />
+ <p:columnToggler datasource="userList" trigger="toggler" />
</p:panelGrid>
</f:facet>
<!-- ... or enter it directly together it creating user account //-->
<h:panelGroup layout="block">
- <ui:include src="/WEB-INF/templates/admin/user/admin_form_user_personal_data.tpl" />
+ <core:outputAdminUserDataFormFields mode="add" />
+
+ <h:panelGroup styleClass="para notice">
+ <h:outputText value="#{msg.ADMIN_USER_PERSONAL_DATA_MINIMUM_NOTICE}" />
+ </h:panelGroup>
+
+ <core:outputAdminContactDataFormFields allowEmptyRequiredData="true" />
</h:panelGroup>
<f:facet name="footer">
id="submit_add_user"
value="#{msg.BUTTON_ADMIN_ADD_USER}"
action="#{adminUserController.addUser()}"
- update=":master:form-list-users:table-list-users"
+ update=":master:form-list-users:userList"
/>
</p:panelGrid>
</f:facet>