1 | <div xmlns:th="http://www.thymeleaf.org">
|
---|
2 | <section class="jumbotron text-center">
|
---|
3 | <div class="container">
|
---|
4 | <h1 class="jumbotron-heading">WEB PROGRAMMING SHOP</h1>
|
---|
5 | <h3 class="jumbotron-heading">All products</h3>
|
---|
6 | </div>
|
---|
7 | </section>
|
---|
8 |
|
---|
9 | <div class="container mb-4">
|
---|
10 | <form class="form-signin mt-xl-5" method="post" action="/register">
|
---|
11 | <h2 class="form-signin-heading">Register</h2>
|
---|
12 | <p>
|
---|
13 | <label for="username" class="sr-only">Email</label>
|
---|
14 | <input type="text" id="username" name="email" class="form-control" placeholder="Email" required="" autofocus="">
|
---|
15 | </p>
|
---|
16 | <p>
|
---|
17 | <label for="password" class="sr-only">Password</label>
|
---|
18 | <input type="password" id="password" name="password" class="form-control" placeholder="Password" required="">
|
---|
19 | </p>
|
---|
20 | <p>
|
---|
21 | <label for="repeatedPassword" class="sr-only">Repeat Password</label>
|
---|
22 | <input type="password" id="repeatedPassword" name="confirmPassword" class="form-control" placeholder="Repeat Password" required="">
|
---|
23 | </p>
|
---|
24 | <p>
|
---|
25 | <label for="name" class="sr-only">Name</label>
|
---|
26 | <input type="text" id="name" name="name" class="form-control" placeholder="Name" required="" autofocus="">
|
---|
27 | </p>
|
---|
28 | <p>
|
---|
29 | <label for="surname" class="sr-only">Address</label>
|
---|
30 | <input type="text" id="surname" name="address" class="form-control" placeholder="Address" required="" autofocus="">
|
---|
31 | </p>
|
---|
32 | <p>
|
---|
33 | <label for="phone" class="sr-only">Phone</label>
|
---|
34 | <input type="text" id="phone" name="phone" class="form-control" placeholder="Phone" required="" autofocus="">
|
---|
35 | </p>
|
---|
36 |
|
---|
37 |
|
---|
38 |
|
---|
39 | <th:block th:if="${hasError}">
|
---|
40 | <div th:text="${error}" class="text-danger"></div>
|
---|
41 | </th:block>
|
---|
42 |
|
---|
43 | <button class="btn btn-lg btn-primary btn-block" type="submit">Sign up</button>
|
---|
44 | </form>
|
---|
45 | <a href="/login" class="btn btn-block btn-light">Already have an account? Login here!</a>
|
---|
46 | </div>
|
---|
47 |
|
---|
48 | </div> |
---|