blob: e430450743fa5e00f38a0af4fb99fec7c44f29cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
@model MyDarling.Models.LoginModel
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Login Page</title>
<link href="/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
<div class="container-fluid">
<div class="form-outline d-flex flex-column min-vh-100 justify-content-center align-items-center">
<form asp-action="Login" asp-controller="Account" method="post">
<input type="hidden" asp-for="ReturnUrl" />
<div class="form-group">
<label asp-for="Name"></label>
<div asp-validation-for="Name" class="text-danger"></div>
<input name="Name" class="form-control" value="@Model.Name" />
</div>
<div class="form-group">
<label asp-for="Password"></label>
<div asp-validation-for="Password" class="text-danger"></div>
<input name="Password" type="password" class="form-control" value="@Model.Password" />
</div>
<div class="text-center">
<button class="btn btn-primary mt-4 text-center" type="submit">Log In</button>
</div>
</form>
</div>
</div>
</body>
</html>
|