main
|
Last change
on this file since 08aefc6 was 08aefc6, checked in by mmilevski <markomilevski3@…>, 4 weeks ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | @model KernelRecordsMVC.Application.ViewModels.LoginViewModel
|
|---|
| 2 |
|
|---|
| 3 | <h2>Login</h2>
|
|---|
| 4 |
|
|---|
| 5 | <form asp-action="Login" method="post">
|
|---|
| 6 |
|
|---|
| 7 | <div asp-validation-summary="ModelOnly"
|
|---|
| 8 | class="text-danger">
|
|---|
| 9 | </div>
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 | <div class="mb-3">
|
|---|
| 13 |
|
|---|
| 14 | <label asp-for="Username"
|
|---|
| 15 | class="form-label">
|
|---|
| 16 | </label>
|
|---|
| 17 |
|
|---|
| 18 | <input asp-for="Username"
|
|---|
| 19 | class="form-control"/>
|
|---|
| 20 |
|
|---|
| 21 | <span asp-validation-for="Username"
|
|---|
| 22 | class="text-danger">
|
|---|
| 23 | </span>
|
|---|
| 24 |
|
|---|
| 25 | </div>
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 | <div class="mb-3">
|
|---|
| 29 |
|
|---|
| 30 | <label asp-for="Password"
|
|---|
| 31 | class="form-label">
|
|---|
| 32 | </label>
|
|---|
| 33 |
|
|---|
| 34 | <input asp-for="Password"
|
|---|
| 35 | class="form-control"/>
|
|---|
| 36 |
|
|---|
| 37 | <span asp-validation-for="Password"
|
|---|
| 38 | class="text-danger">
|
|---|
| 39 | </span>
|
|---|
| 40 |
|
|---|
| 41 | </div>
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 | <button type="submit"
|
|---|
| 45 | class="btn btn-primary">
|
|---|
| 46 |
|
|---|
| 47 | Login
|
|---|
| 48 |
|
|---|
| 49 | </button>
|
|---|
| 50 |
|
|---|
| 51 | </form>
|
|---|
| 52 |
|
|---|
| 53 | <div class="mt-3">
|
|---|
| 54 |
|
|---|
| 55 | Don't have an account?
|
|---|
| 56 |
|
|---|
| 57 | <a asp-action="Register">
|
|---|
| 58 | Register
|
|---|
| 59 | </a>
|
|---|
| 60 |
|
|---|
| 61 | </div>
|
|---|
| 62 |
|
|---|
| 63 | @section Scripts
|
|---|
| 64 | {
|
|---|
| 65 | <partial name="_ValidationScriptsPartial"/>
|
|---|
| 66 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.