mirror of
https://github.com/chyzy/RSystem-MVC
synced 2024-11-22 23:25:27 +01:00
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
@model RSystem.Models.ResetPasswordViewModel
|
|
@{
|
|
ViewBag.Title = "Reset password";
|
|
}
|
|
|
|
<h2>@ViewBag.Title.</h2>
|
|
|
|
@using (Html.BeginForm("ResetPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
{
|
|
@Html.AntiForgeryToken()
|
|
<h4>Reset your password.</h4>
|
|
<hr />
|
|
@Html.ValidationSummary("", new { @class = "text-danger" })
|
|
@Html.HiddenFor(model => model.Code)
|
|
<div class="form-group">
|
|
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
|
|
<div class="col-md-10">
|
|
@Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
@Html.LabelFor(m => m.Password, new { @class = "col-md-2 control-label" })
|
|
<div class="col-md-10">
|
|
@Html.PasswordFor(m => m.Password, new { @class = "form-control" })
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
@Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-md-2 control-label" })
|
|
<div class="col-md-10">
|
|
@Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-md-offset-2 col-md-10">
|
|
<input type="submit" class="btn btn-default" value="Reset" />
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
@section Scripts {
|
|
@Scripts.Render("~/bundles/jqueryval")
|
|
}
|