]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Thu, 20 Apr 2017 19:51:11 +0000 (21:51 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Apr 2017 19:51:59 +0000 (21:51 +0200)
- error messages for user name/email address

Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/templates/guest/user/guest_registration_form.tpl
web/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl

index 0fa8fcd5670b2d6361d703d39763907e0bd60b1c..7ff19cc04cbf0cc011393de46f0433daa2810a5c 100644 (file)
                                                <div class="clear"></div>
                                        </div>
 
+                                       <h:panelGroup styleClass="error_container" layout="block">
+                                               <h:message for="userName" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                                       </h:panelGroup>
+
                                        <div class="table_row">
                                                <div class="table_left">
                                                        <h:outputLabel for="emailAddress" value="#{msg.GUEST_REGISTRATION_ENTER_EMAIL1}" />
                                                <div class="clear"></div>
                                        </div>
 
+                                       <h:panelGroup styleClass="error_container" layout="block">
+                                               <h:message for="emailAddress" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                                       </h:panelGroup>
+
                                        <div class="table_row">
                                                <div class="table_left">
                                                        <h:outputLabel for="emailAddressRepeat" value="#{msg.GUEST_REGISTRATION_ENTER_EMAIL2}" />
                                                <div class="clear"></div>
                                        </div>
 
+                                       <h:panelGroup styleClass="error_container" layout="block">
+                                               <h:message for="emailAddressRepeat" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                                       </h:panelGroup>
+
                                        <div class="para"></div>
 
                                        <div class="table_row">
index 68c7b15faada279a6d4d3168376216e3b87b15db..48fa8bcb98a20c8823480f8729611c61e616606d 100644 (file)
 
                                                        <div class="clear"></div>
                                                </div>
+
+                                               <h:panelGroup styleClass="error_container" layout="block">
+                                                       <h:message for="userName" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                                               </h:panelGroup>
                                        </ui:fragment>
 
                                        <ui:include src="/WEB-INF/templates/guest/guest_email_address_repeat_fields.tpl" />