[533c366] | 1 | <div class="container">
|
---|
| 2 | <h1 th:if="${hasError}" th:text="${error}"></h1>
|
---|
| 3 | </div>
|
---|
| 4 | <div class="container">
|
---|
| 5 | <form class="form-signin mt-xl-5" method="post" action="/register">
|
---|
[5444409] | 6 | <h2 class="form-signin-heading" style="color: white">Регистрација</h2>
|
---|
[533c366] | 7 | <p>
|
---|
[5444409] | 8 | <label for="username" class="sr-only" style="color: white">Корисничко име</label>
|
---|
[39a45e6] | 9 | <input type="text" id="username" name="username" class="form-control" placeholder="Корисничко име" required=""
|
---|
[533c366] | 10 | autofocus="">
|
---|
| 11 | </p>
|
---|
| 12 | <p>
|
---|
[5444409] | 13 | <label for="password" class="sr-only" style="color: white">Лозинка</label>
|
---|
[39a45e6] | 14 | <input type="password" id="password" name="password" class="form-control" placeholder="Лозинка"
|
---|
[533c366] | 15 | required="">
|
---|
| 16 | </p>
|
---|
| 17 | <p>
|
---|
[5444409] | 18 | <label for="repeatedPassword" class="sr-only" style="color: white">Повтори лозинка</label>
|
---|
[533c366] | 19 | <input type="password" id="repeatedPassword" name="repeatedPassword" class="form-control"
|
---|
[39a45e6] | 20 | placeholder="Повтори лозинка" required="">
|
---|
[533c366] | 21 | </p>
|
---|
| 22 | <p>
|
---|
[5444409] | 23 | <label for="first_name" class="sr-only" style="color: white">Име</label>
|
---|
[39a45e6] | 24 | <input type="text" id="first_name" name="first_name" class="form-control" placeholder="Име" required="" autofocus="">
|
---|
[533c366] | 25 | </p>
|
---|
| 26 | <p>
|
---|
[5444409] | 27 | <label for="last_name" class="sr-only" style="color: white">Презиме</label>
|
---|
[39a45e6] | 28 | <input type="text" id="last_name" name="last_name" class="form-control" placeholder="Презиме" required=""
|
---|
[533c366] | 29 | autofocus="">
|
---|
| 30 | </p>
|
---|
[f9cc555] | 31 | <p>
|
---|
[5444409] | 32 | <label for="last_name" class="sr-only" style="color: white">Е-пошта</label>
|
---|
| 33 | <input type="text" id="email" name="email" class="form-control" placeholder="Е-пошта" required=""
|
---|
| 34 | autofocus="">
|
---|
| 35 | </p>
|
---|
| 36 | <p>
|
---|
| 37 | <label for="number" class="sr-only" style="color: white">Телефонски број</label>
|
---|
[39a45e6] | 38 | <input type="text" id="number" name="number" class="form-control" placeholder="Телефонски број" required=""
|
---|
[f9cc555] | 39 | autofocus="">
|
---|
| 40 | </p>
|
---|
[533c366] | 41 | <p>
|
---|
| 42 | <div class="form-check form-check-inline">
|
---|
| 43 | <input class="form-check-input" name="role" type="radio" id="ROLE_ADMIN" value="ROLE_ADMIN">
|
---|
[5444409] | 44 | <label class="form-check-label" for="ROLE_ADMIN" style="color: white">ROLE_ADMIN</label>
|
---|
[533c366] | 45 | </div>
|
---|
| 46 | <div class="form-check form-check-inline">
|
---|
| 47 | <input class="form-check-input" name="role" type="radio" id="ROLE_USER" value="ROLE_USER">
|
---|
[5444409] | 48 | <label class="form-check-label" for="ROLE_USER" style="color: white">ROLE_USER</label>
|
---|
[533c366] | 49 | </div>
|
---|
| 50 | </p>
|
---|
[39a45e6] | 51 | <button class="btn btn-lg btn-primary btn-block" type="submit">Регистрирај се</button>
|
---|
[533c366] | 52 | </form>
|
---|
[39a45e6] | 53 | <a href="/login" class="btn btn-block btn-light">Имаш постоечки профил? Најави се тука</a>
|
---|
[533c366] | 54 | </div>
|
---|