source: Git/src/main/resources/templates/login.html@ f25e8dd

main
Last change on this file since f25e8dd was 5b447b0, checked in by Test <matonikolov77@…>, 3 years ago

Adding models and resources

  • Property mode set to 100644
File size: 911 bytes
RevLine 
[5b447b0]1<div class="container" xmlns:th="http://www.thymeleaf.org">
2 <form class="form-signin mt-xl-5" method="post" action="/login">
3 <h2 class="form-signin-heading">Sign in</h2>
4 <p>
5 <label for="username" class="sr-only">Username</label>
6 <input type="text" id="username" name="username" class="form-control" placeholder="Username" required=""
7 autofocus="">
8 </p>
9 <p>
10 <label for="password" class="sr-only">Password</label>
11 <input type="password" id="password" name="password" class="form-control" placeholder="Password"
12 required="">
13 </p>
14
15 <div th:text="${param.error}" class="text-danger"></div>
16
17 <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
18 </form>
19 <a th:href="@{/register}" class="btn btn-block btn-light">Register here</a>
20</div>
Note: See TracBrowser for help on using the repository browser.