</ui:define>
<ui:define name="content">
- <div class="para">
- <!-- TODO Internatialize this somehow //-->
- Noch kein Benutzerkonto? Einfach <h:link id="user_register" outcome="user_register" title="Als Benutzer anmelden">hier</h:link> anmelden.
- </div>
+ <ui:fragment rendered="#{userController.isUserNameRequired()}">
+ <div class="para">
+ <!-- TODO Internatialize this somehow //-->
+ Noch kein Benutzerkonto? Einfach <h:link id="user_register" outcome="user_register" title="Als Benutzer anmelden">hier</h:link> anmelden.
+ </div>
- <div class="para">
- <ui:include id="login_form" src="/WEB-INF/templates/guest/guest_login_form.tpl" />
- </div>
+ <div class="para">
+ <ui:include src="/WEB-INF/templates/guest/user/guest_login_form.tpl" />
+ </div>
- <div class="para">
- <h:link id="user_lost_password" outcome="user_lost_passwd" title="#{msg.LINK_TITLE_GUEST_LOGIN_LOST_PASSWORD}" value="#{msg.LINK_GUEST_LOGIN_LOST_PASSWORD}" />
- </div>
+ <div class="para">
+ <h:link id="user_lost_password" outcome="user_lost_passwd" title="#{msg.LINK_TITLE_GUEST_LOGIN_LOST_PASSWORD}" value="#{msg.LINK_GUEST_LOGIN_LOST_PASSWORD}" />
+ </div>
+ </ui:fragment>
+
+ <ui:fragment rendered="#{not userController.isUserNameRequired()}">
+ <h:outputText styleClass="errors" value="#{msg.ERROR_GUEST_USER_LOGIN_DEACTIVATED}" />
+ </ui:fragment>
</ui:define>
</ui:composition>
</html>