server/src/main/webapp/WEB-INF/templates/fragment/userForm.html
branchuser_management
changeset 227 0877747b0213
parent 226 d2b688aadd8c
child 230 793eece3691e
--- a/server/src/main/webapp/WEB-INF/templates/fragment/userForm.html	Wed Oct 23 01:43:09 2013 +0200
+++ b/server/src/main/webapp/WEB-INF/templates/fragment/userForm.html	Thu Oct 24 13:40:35 2013 +0200
@@ -82,10 +82,12 @@
        <div>
          <label for="password" th:text="#{renkanAdmin.form.password}">Password: </label> 
          <input type="password" th:field="*{password}" /> 
+         <div th:if="${#fields.hasErrors('password')}" th:errors="*{password}" class="form-error"></div>
        </div>
        <div>
          <label for="passwordConfirm" th:text="#{renkanAdmin.form.passwordConfirm}">Confirm password: </label> 
          <input type="password" th:field="*{passwordConfirm}" /> 
+         <div th:if="${#fields.hasErrors('passwordConfirm')}" th:errors="*{passwordConfirm}" class="form-error"></div>
        </div>       
        <div>
          <label for="credentialExpirationDate" th:text="#{renkanAdmin.form.credentialExpirationDate}">Credential expiration date: </label>