@model Sevomin.Models.ResetPasswordViewModel
|
|
|
|
@{
|
|
ViewBag.Title = "بازنشانی رمز عبور";
|
|
}
|
|
@Html.Partial("PostResult", ViewBag.Result as Sevomin.Models.PostResultViewModel)
|
|
<div class="page-header rtl">
|
|
<h1>بازنشانی رمز عبور <small>رمز عبور جدید خود را وارد نمایید.</small></h1>
|
|
</div>
|
|
<div class="row rtl">
|
|
<div class="col-md-12">
|
|
@using (Html.BeginForm("ResetPassword", "Account", FormMethod.Post, new { role = "form", @code= ViewBag.Code }))
|
|
{
|
|
@Html.AntiForgeryToken()
|
|
<div class="form-horizontal">
|
|
<div class="form-group">
|
|
<div class="col-md-3 pull-right">
|
|
@Html.LabelFor(model => model.Password, new { @class = "control-label" })
|
|
</div>
|
|
<div class="col-md-9">
|
|
@Html.PasswordFor(model => model.Password, new { @class = "form-control ltr" })
|
|
@Html.ValidationMessageFor(model => model.Password)
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-md-3 pull-right">
|
|
@Html.LabelFor(model => model.ConfirmPassword, new { @class = "control-label" })
|
|
</div>
|
|
<div class="col-md-9">
|
|
@Html.PasswordFor(model => model.ConfirmPassword, new { @class = "form-control ltr" })
|
|
@Html.ValidationMessageFor(model => model.ConfirmPassword)
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-md-12">
|
|
<button type="submit" class="btn btn-default">ارسال رمز عبور</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|