checkpoint
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
@page
|
||||
@model StatiKosev.Pages.LoginModel
|
||||
@{
|
||||
ViewData["Title"] = StringValues["Login"];
|
||||
}
|
||||
@section Head {
|
||||
<link rel="stylesheet" href="~/styles/account.css" asp-append-version="true"/>
|
||||
}
|
||||
|
||||
<div class="auth-forms">
|
||||
<form method="post" action="/account/login" asp-antiforgery="true" class="auth-card" data-once>
|
||||
<h1>@StringValues["Login"]</h1>
|
||||
<input type="hidden" name="returnUrl" value="@Model.ReturnUrl"/>
|
||||
<label>@StringValues["Email"]
|
||||
<input type="email" name="email" required autocomplete="username"/>
|
||||
</label>
|
||||
<label>@StringValues["Password"]
|
||||
<input type="password" name="password" required autocomplete="current-password"/>
|
||||
</label>
|
||||
<button type="submit">@StringValues["Login"]</button>
|
||||
</form>
|
||||
|
||||
<form method="post" action="/account/register" asp-antiforgery="true" class="auth-card" data-once>
|
||||
<h1>@StringValues["Register"]</h1>
|
||||
<input type="hidden" name="returnUrl" value="@Model.ReturnUrl"/>
|
||||
<label>@StringValues["Email"]
|
||||
<input type="email" name="email" required autocomplete="email"/>
|
||||
</label>
|
||||
<label>@StringValues["Password"]
|
||||
<input type="password" name="password" required minlength="8" autocomplete="new-password"
|
||||
aria-describedby="password-hint"/>
|
||||
</label>
|
||||
<p id="password-hint" class="hint">@StringValues["PasswordHint"]</p>
|
||||
<button type="submit">@StringValues["Register"]</button>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user