1 | <div>
|
---|
2 | <form th:method="POST" th:action="@{/register}">
|
---|
3 | <div class="container">
|
---|
4 | <form class="form-signin mt-xl-5" method="post" action="/register">
|
---|
5 | <h2 class="form-signin-heading">Регистрирај се</h2>
|
---|
6 | <p>
|
---|
7 | <label for="name" class="sr-only">Име и презиме</label>
|
---|
8 | <input type="text" id="name" name="name" class="form-control" placeholder="Внеси го твоето име и презиме..." required="" autofocus=""/>
|
---|
9 | </p>
|
---|
10 | <p>
|
---|
11 | <label for="username" class="sr-only">Корисничко име</label>
|
---|
12 | <input type="text" id="username" name="username" class="form-control" placeholder="Внеси корисничко име..." required="" autofocus=""/>
|
---|
13 | </p>
|
---|
14 | <p>
|
---|
15 | <label for="email" class="sr-only">Email</label>
|
---|
16 | <input type="email" id="email" name="email" class="form-control" placeholder="info@xyz.com" required=""/>
|
---|
17 | </p>
|
---|
18 | <p>
|
---|
19 | <label for="number" class="sr-only">Телефонски број</label>
|
---|
20 | <input type="text" id="number" name="number" class="form-control" placeholder="+389 70 123 456" required=""/>
|
---|
21 | </p>
|
---|
22 | <p>
|
---|
23 | <label for="password" class="sr-only">Лозинка</label>
|
---|
24 | <input type="password" id="password" name="password" class="form-control" placeholder="*********" required=""/>
|
---|
25 | </p>
|
---|
26 | <p>
|
---|
27 | <label for="rpassword" class="sr-only">Потврди ја лозинката</label>
|
---|
28 | <input type="password" id="rpassword" name="rpassword" class="form-control" placeholder="*********" required=""/>
|
---|
29 | </p>
|
---|
30 | <p>
|
---|
31 | <label for="role" class="sr-only">
|
---|
32 | Одбери улога
|
---|
33 | </label><select class="form-control" id="role" name="role" required>
|
---|
34 | <option value="client">CLIENT</option>
|
---|
35 | <option value="warehouseman">WAREHOUSEMAN</option>
|
---|
36 | <option value="deliveryman">DELIVERYMAN</option>
|
---|
37 | </select>
|
---|
38 | </p>
|
---|
39 | </form>
|
---|
40 | <button class="btn btn-lg btn-primary btn-block" type="submit">Регистрирај се</button>
|
---|
41 | </div>
|
---|
42 | </form>
|
---|
43 | <a href="/login" class="btn btn-block btn-light">Веќе имате сметка? Најавете се</a>
|
---|
44 | </div>
|
---|