PAN-54
This commit is contained in:
@@ -7,21 +7,28 @@
|
||||
<title>User Creation</title>
|
||||
</head>
|
||||
<body>
|
||||
<form method="post" action="">
|
||||
<form method="post" action="" enctype="utf8">
|
||||
<label>Username:
|
||||
<input type="text" name="username"/>
|
||||
<p th:each="error: ${#fields.errors('userName')}"
|
||||
th:text="${error}">Validation error</p>
|
||||
</label>
|
||||
<br>
|
||||
<label>Password:
|
||||
<input type="text" name="password"/>
|
||||
<input type="text" name="password" th:field="*{matchingPassword}"/>
|
||||
<p th:each="error : ${#fields.errors('password')}"
|
||||
th:text="${error}">Validation error</p>
|
||||
</label>
|
||||
<br>
|
||||
<label>Confirm Password:
|
||||
<input type="text" name="confirmPassword"/>
|
||||
|
||||
</label>
|
||||
<br>
|
||||
<label>Email Address:
|
||||
<input type="text" name="emailAddress"/>
|
||||
<p th:each="error : ${#fields.errors('email')}"
|
||||
th:text="${error}">Validation error</p>
|
||||
</label>
|
||||
<br>
|
||||
<label>First Name:
|
||||
@@ -34,6 +41,8 @@
|
||||
<br>
|
||||
<label>I agree to the terms and conditions.
|
||||
<input type="checkbox" name="agreedToTerms"/>
|
||||
<p th:each="error : ${#fields.errors('terms')}"
|
||||
th:text="${error}">Validation error</p>
|
||||
</label>
|
||||
<br>
|
||||
<input type="submit" value="Save">
|
||||
|
||||
Reference in New Issue
Block a user