Ignore:
Timestamp:
07/07/23 12:14:58 (12 months ago)
Author:
HristijanMitic00 <hristijan.mitic.01@…>
Branches:
main
Parents:
1dd9226
Message:

First commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/register.html

    r1dd9226 rd14176d  
    1 <!DOCTYPE html>
    2 <html lang="en">
    3 <head>
    4   <meta charset="UTF-8">
    5   <title>$Title$</title>
    6 </head>
    7 <body>
    8 $END$
    9 </body>
    10 </html>
     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">
     6        <h2 class="form-signin-heading">Register</h2>
     7        <p>
     8            <label for="name_surname" class="sr-only">Name and Surname</label>
     9            <input type="text" id="name_surname" name="name_surname" class="form-control" autocomplete="off" placeholder="name_surname" required=""
     10                   autofocus="">
     11        </p>
     12        <p>
     13            <label for="password" class="sr-only">Password</label>
     14            <input type="password" id="password" name="password" class="form-control" placeholder="Password" autocomplete="off"
     15                   required="">
     16        </p>
     17        <p>
     18            <label for="repeatedPassword" class="sr-only">Repeat Password</label>
     19            <input type="password" id="repeatedPassword" name="repeatedPassword" class="form-control" autocomplete="off"
     20                   placeholder="Repeat Password" required="">
     21        </p>
     22        <p>
     23            <label for="mail" class="sr-only">Mail</label>
     24            <input type="text" id="mail" name="mail" class="form-control" placeholder="Mail" required="" autofocus="" autocomplete="off">
     25        </p>
     26        <p>
     27            <label for="number" class="sr-only">Telephone number</label>
     28            <input type="text" id="number" name="number" class="form-control" placeholder="number" required="" autocomplete="off"
     29                   autofocus="">
     30        </p>
     31
     32        <button class="btn btn-lg btn-primary btn-block" type="submit">Register</button>
     33    </form>
     34</div>
     35
Note: See TracChangeset for help on using the changeset viewer.