You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.5 KiB
43 lines
1.5 KiB
|
4 years ago
|
@model SpaAspNetCore.Models.ResetPasswordViewModel
|
||
|
|
@{
|
||
|
|
ViewBag.Title = "Сброс пароля";
|
||
|
|
}
|
||
|
|
|
||
|
|
<h2>@ViewBag.Title.</h2>
|
||
|
|
|
||
|
|
@using (Html.BeginForm("ResetPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||
|
|
{
|
||
|
|
@Html.AntiForgeryToken()
|
||
|
|
<h4>Сброс пароля.</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="Сброс" />
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
}
|
||
|
|
|
||
|
|
@section Scripts {
|
||
|
|
@Scripts.Render("~/bundles/jqueryval")
|
||
|
|
}
|