]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/guest/user/register/guest_form_register_single.tpl
Continued a bit: (please cherry-pick)
[jjobs-war.git] / web / WEB-INF / templates / guest / user / register / guest_form_register_single.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:f="http://java.sun.com/jsf/core"
5         xmlns:h="http://java.sun.com/jsf/html"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
7
8         <h:form id="form_register_single">
9                 <div class="table">
10                         <div class="table_header">
11                                 <h:outputText value="#{msg.GUEST_REGISTRATION_TITLE}" />
12                         </div>
13
14                         <ui:include src="/WEB-INF/templates/contact/form_contact_data.tpl" />
15
16                         <div class="para">
17                                 <fieldset id="login_data">
18                                         <legend title="#{msg.GUEST_REGISTRATION_EMAIL_LEGEND_TITLE}">
19                                                 <h:outputText value="#{msg.GUEST_REGISTRATION_EMAIL_LEGEND}" />
20                                         </legend>
21
22                                         <ui:fragment rendered="#{userController.isUserNameRequired()}">
23                                                 <div class="table_row">
24                                                         <div class="table_left">
25                                                                 <h:outputLabel for="userName" value="#{msg.GUEST_REGISTRATION_ENTER_USER_NAME}" />
26                                                         </div>
27
28                                                         <div class="table_right">
29                                                                 <h:inputText styleClass="input" id="userName" size="20" maxlength="255" value="#{userController.userName}" required="true" />
30                                                         </div>
31
32                                                         <div class="clear"></div>
33                                                 </div>
34                                         </ui:fragment>
35
36                                         <ui:include src="/WEB-INF/templates/guest/guest_email_address_repeat_fields.tpl" />
37
38                                         <ui:fragment rendered="#{userController.isUserNameRequired()}">
39                                                 <div class="para"></div>
40
41                                                 <div class="table_row">
42                                                         <div class="table_left">
43                                                                 <h:outputLabel for="userPassword" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD}" />
44                                                         </div>
45
46                                                         <div class="table_right">
47                                                                 <h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{userController.userPassword}" required="true" />
48                                                         </div>
49
50                                                         <div class="clear"></div>
51                                                 </div>
52
53                                                 <div class="table_row">
54                                                         <div class="table_left">
55                                                                 <h:outputLabel for="userPasswordRepeat" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD_REPEAT}" />
56                                                         </div>
57
58                                                         <div class="table_right">
59                                                                 <h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{userController.userPasswordRepeat}" required="true" />
60                                                         </div>
61
62                                                         <div class="clear"></div>
63                                                 </div>
64
65                                                 <div class="para notice">
66                                                         <h:outputText value="#{msg.GUEST_REGISTRATION_USER_NAME_NOTICE}" />
67                                                 </div>
68                                         </ui:fragment>
69                                 </fieldset>
70                         </div>
71
72                         <ui:include src="/WEB-INF/templates/guest/guest_privacy_terms.tpl" />
73
74                         <div class="table_footer">
75                                 <h:commandButton styleClass="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
76                                 <h:commandButton styleClass="submit" type="submit" id="finish_registration_single" value="#{msg.BUTTON_FINISH_REGISTRATION}" action="#{registerController.doFinishRegistration()}" />
77                         </div>
78                 </div>
79         </h:form>
80 </ui:composition>