]> git.mxchange.org Git - jjobs-war.git/blob - user/user_resend_link.xhtml
Updated copyright year
[jjobs-war.git] / user / user_resend_link.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         template="/WEB-INF/templates/guest/guest_base.tpl"
4         xmlns="http://www.w3.org/1999/xhtml"
5         xmlns:core="http://mxchange.org/jsf/core/widgets"
6         xmlns:validator="http://mxchange.org/jsf/core/validators"
7         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
8         xmlns:h="http://xmlns.jcp.org/jsf/html"
9         xmlns:f="http://xmlns.jcp.org/jsf/core"
10         xmlns:p="http://primefaces.org/ui"
11         >
12
13         <ui:define name="document_guest_title">
14                 <h:outputText value="#{msg.PAGE_TITLE_INDEX_RESEND_LINK}" />
15         </ui:define>
16
17         <ui:define name="content_header">
18                 <h:outputText value="#{msg.CONTENT_TITLE_INDEX_RESEND_LINK}" />
19         </ui:define>
20
21         <ui:define name="content">
22                 <core:outputMessageBox panelGroupId="errorUserResendLinkDisabled" message="#{msg.ERROR_GUEST_USER_RESEND_LINK_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_resend_confirmation_link')}" />
23
24                 <h:form rendered="#{featureController.isFeatureEnabled('user_resend_confirmation_link')}">
25                         <h:panelGroup styleClass="table" layout="block">
26                                 <div class="table-header">
27                                         <h:outputText value="#{msg.GUEST_RESEND_LINK_TITLE}" />
28                                 </div>
29
30                                 <fieldset class="fieldset">
31                                         <legend title="#{msg.RESEND_CONFIRMATION_LINK_LEGEND_TITLE}">
32                                                 <h:outputText value="#{msg.RESEND_CONFIRMATION_LINK_LEGEND}" />
33                                         </legend>
34
35                                         <h:panelGroup styleClass="table-row" layout="block">
36                                                 <div class="table-left">
37                                                         <p:outputLabel for="emailAddress" value="#{msg.GUEST_RESEND_LINK_ENTER_EMAIL_ADDRESS}" />
38                                                 </div>
39
40                                                 <div class="table-right">
41                                                         <p:inputText id="emailAddress" size="20" maxlength="255" value="#{userResendConfirmationController.emailAddress}" required="true" requiredMessage="#{msg.EMAIL_ADDRESS_NOT_ENTERED}">
42                                                                 <validator:emailAddressValidator />
43                                                         </p:inputText>
44                                                 </div>
45                                         </h:panelGroup>
46                                 </fieldset>
47
48                                 <h:panelGroup styleClass="error-container" layout="block">
49                                         <p:message for="emailAddress" />
50                                 </h:panelGroup>
51
52                                 <h:panelGroup styleClass="table-row" layout="block">
53                                         <h:outputText value="#{msg.GUEST_RESEND_CONFIRMATION_LINK_NOTICE}" />
54                                 </h:panelGroup>
55
56                                 <p:panelGrid columns="2" layout="grid">
57                                         <p:commandButton
58                                                 type="reset"
59                                                 value="#{msg.BUTTON_RESET_FORM}"
60                                                 />
61
62                                         <p:commandButton
63                                                 type="submit"
64                                                 value="#{msg.BUTTON_RESEND_CONFIRMATION_LINK}"
65                                                 action="#{userResendConfirmationController.doResendLink()}"
66                                                 />
67                                 </p:panelGrid>
68                         </h:panelGroup>
69                 </h:form>
70         </ui:define>
71 </ui:composition>