source: source/src/main/resources/templates/register.html

Last change on this file was bc0eeb4, checked in by Evgenija2000 <eva_nikolaevska@…>, 2 years ago

all files

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[bc0eeb4]1<div class="container" xmlns:th="http://www.w3.org/1999/xhtml" >
2 <h1 th:if="${hasError}" th:text="${error}"></h1>
3</div>
4<div class="container">
5 <h2 class="form-signin-heading" style="margin-bot: 15%;color:white;">Register</h2>
6 <form class="form-signin mt-xl-5" method="post" action="/register">
7 <p>
8 <label for="user_name" class="sr-only">Name</label>
9 <input type="text" id="user_name" name="user_name" class="form-control" placeholder="Name" required="" autofocus="" style="margin-bottom: 5%;margin-left:10%">
10 </p>
11 <p>
12 <label for="surname" class="sr-only">Surname</label>
13 <input type="text" id="surname" name="surname" class="form-control" placeholder="Surname" required=""
14 autofocus="" style="margin-bottom: 5%;margin-left:10%">
15 </p>
16 <p>
17 <label for="email" class="sr-only">E-mail</label>
18 <input type="text" id="email" name="email" class="form-control" placeholder="E-mail" required="" autofocus="" style="margin-bottom: 5%;margin-left:10%">
19 </p>
20 <p>
21 <label for="username" class="sr-only">Username</label>
22 <input type="text" id="username" name="username" class="form-control" placeholder="Username" required=""
23 autofocus="" style="margin-bottom: 5%;margin-left:10%">
24 </p>
25 <p>
26 <label for="user_password" class="sr-only">Password</label>
27 <input type="password" id="user_password" name="user_password" class="form-control" placeholder="Password"
28 required="" style="margin-bottom: 5%;margin-left:10%">
29 </p>
30 <p>
31 </p>
32 <button class="btn btn-lg btn-primary btn-block" type="submit">Sign up</button>
33 </form>
34 <a href="/login" class="btn btn-block btn-light">Already have an account? Login here!</a>
35</div>
36
Note: See TracBrowser for help on using the repository browser.