xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
- <h:form id="form_register_single">
+ <h:form id="form_register_single" rendered="#{featureController.isFeatureEnabled('user_registration')}">
<h:panelGroup styleClass="table_medium" layout="block">
<div class="table_header">
<h:outputText value="#{msg.GUEST_REGISTRATION_TITLE}" />
<div class="clear"></div>
- <div class="error_container">
+ <h:panelGroup styleClass="error_container" layout="block">
<h:message for="userName" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </div>
+ </h:panelGroup>
</div>
</ui:fragment>
<div class="clear"></div>
</div>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="userPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
+ </h:panelGroup>
+
<div class="table_row">
<div class="table_left">
<h:outputLabel for="userPasswordRepeat" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD_REPEAT}" />
<div class="clear"></div>
</div>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="userPasswordRepeat" errorClass="errors" fatalClass="errors" warnClass="errors" />
+ </h:panelGroup>
+
<div class="para notice">
<h:outputText value="#{msg.GUEST_REGISTRATION_USER_NAME_NOTICE}" />
</div>