31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
@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="m-1 p-1">
|
|
<div class="text-danger" asp-validation-summary="All"></div>
|
|
<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>
|
|
<button class="btn btn-primary mt-2" type="submit">Log In</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |