Add project files.
This commit is contained in:
28
test/Views/Users/login.cshtml
Normal file
28
test/Views/Users/login.cshtml
Normal file
@ -0,0 +1,28 @@
|
||||
@{
|
||||
ViewBag.Title = "Login";
|
||||
}
|
||||
|
||||
<h2>Login</h2>
|
||||
|
||||
@using (Html.BeginForm())
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
|
||||
<div class="form-group">
|
||||
<label>Phone Number</label>
|
||||
<input type="text" name="User_PhoneNumber" class="form-control" required />
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Password</label>
|
||||
<input type="password" name="User_Password" class="form-control" required />
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
}
|
||||
|
||||
@if (!string.IsNullOrEmpty(Convert.ToString(ViewBag.Message)))
|
||||
{
|
||||
<p class="text-danger">@ViewBag.Message</p>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user