Files
newswebappTest/Views/Account/Login.cshtml
2024-07-26 18:49:07 +03:30

26 lines
762 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@{
ViewBag.Title = "Login";
}
<h2>Login</h2>
<form asp-action="Login" asp-controller="Account" method="post">
<div asp-validation-summary="All"></div>
<div class="form-group">
<label  
asp-for="username">username</label>
<input asp-for="username" class="form-control" required />
<span asp-validation-for="Username" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="password">password</label>
<input asp-for="password"  
type="password" class="form-control" required />
<span asp-validation-for="Password" class="text-danger"></span>
</div>
<br />
<button type="submit" class="btn btn-primary">Login</button>
</form>