]> git.mxchange.org Git - addressbook-war.git/blob - web/WEB-INF/templates/guest/guest_registration_form.tpl
password1 and password2 is not clear enough, better <role>Password and <role>Password...
[addressbook-war.git] / web / WEB-INF / templates / guest / guest_registration_form.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
9         <h:form id="register_form">
10                 <div class="table">
11                         <div class="table_header">
12                                 #{msg.GUEST_REGISTRATION_TITLE}
13                         </div>
14
15                         <ui:include src="/WEB-INF/templates/generic/form_personal_data.tpl" />
16
17                         <div class="para">
18                                 <fieldset id="login_data">
19                                         <legend title="#{msg.GUEST_REGISTRATION_EMAIL_LEGEND_TITLE}">#{msg.GUEST_REGISTRATION_EMAIL_LEGEND}</legend>
20
21                                         <div class="table_row">
22                                                 <div class="table_left">
23                                                         <h:outputLabel for="userName" value="#{msg.GUEST_REGISTRATION_ENTER_USER_NAME}" />
24                                                 </div>
25
26                                                 <div class="table_right">
27                                                         <h:inputText styleClass="input" id="userName" size="20" maxlength="255" value="#{userController.userName}" required="true" />
28                                                 </div>
29
30                                                 <div class="clear"></div>
31                                         </div>
32
33                                         <div class="table_row">
34                                                 <div class="table_left">
35                                                         <h:outputLabel for="emailAddress1" value="#{msg.GUEST_REGISTRATION_ENTER_EMAIL1}" />
36                                                 </div>
37
38                                                 <div class="table_right">
39                                                         <h:inputText styleClass="input" id="emailAddress" size="20" maxlength="255" value="#{contactController.emailAddress}" required="true" />
40                                                 </div>
41
42                                                 <div class="clear"></div>
43                                         </div>
44
45                                         <div class="table_row">
46                                                 <div class="table_left">
47                                                         <h:outputLabel for="emailAddress2" value="#{msg.GUEST_REGISTRATION_ENTER_EMAIL2}" />
48                                                 </div>
49
50                                                 <div class="table_right">
51                                                         <h:inputText styleClass="input" id="emailAddressRepeat" size="20" maxlength="255" value="#{contactController.emailAddressRepeat}" required="true" />
52                                                 </div>
53
54                                                 <div class="clear"></div>
55                                         </div>
56
57                                         <div class="para"></div>
58
59                                         <div class="table_row">
60                                                 <div class="table_left">
61                                                         <h:outputLabel for="userPassword" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD}" />
62                                                 </div>
63
64                                                 <div class="table_right">
65                                                         <h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{userController.userPassword}" required="true" />
66                                                 </div>
67
68                                                 <div class="clear"></div>
69                                         </div>
70
71                                         <div class="table_row">
72                                                 <div class="table_left">
73                                                         <h:outputLabel for="userPasswordRepeat" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD_REPEAT}" />
74                                                 </div>
75
76                                                 <div class="table_right">
77                                                         <h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{userController.userPasswordRepeat}" required="true" />
78                                                 </div>
79
80                                                 <div class="clear"></div>
81                                         </div>
82
83                                         <div class="para notice">
84                                                 #{msg.GUEST_REGISTRATION_USER_NAME_NOTICE}
85                                         </div>
86                                 </fieldset>
87                         </div>
88
89                         <ui:include src="/WEB-INF/templates/guest/guest_privacy_terms.tpl" />
90
91                         <div class="table_footer">
92                                 <h:commandButton styleClass="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
93                                 <h:commandButton styleClass="submit" type="submit" id="register" value="#{msg.BUTTON_FINISH_REGISTRATION}" action="#{registerController.doRegister()}" />
94                         </div>
95                 </div>
96         </h:form>
97 </ui:composition>