62 lines
2.4 KiB
Plaintext
62 lines
2.4 KiB
Plaintext
@using Resources
|
|
|
|
@model Weee.Areas.Certification.Models.ChangePassword
|
|
|
|
@{
|
|
ViewBag.Title = "Change Password";
|
|
Layout = "~/Areas/Certification/Views/Shared/_CertificationLayout.cshtml";
|
|
}
|
|
|
|
@using (Html.BeginForm("ChangePassword", "Account", FormMethod.Post, new { @class = "form-horizontal" }))
|
|
{
|
|
|
|
@Html.AntiForgeryToken()
|
|
|
|
<div class="row panel panel-default">
|
|
<div class="col-xs-12">
|
|
<h2>@Resource.StaticLabelChangePassword</h2>
|
|
<hr />
|
|
</div>
|
|
<div class="col-xs-12">
|
|
<div class="col-xs-11">
|
|
<div class="form-group">
|
|
@Html.LabelFor(m => m.OriginalPassword, new { @class = "col-sm-4 control-label" })
|
|
<div class="col-sm-8">
|
|
@Html.PasswordFor(m => m.OriginalPassword, new { @class = "form-control" })
|
|
<span class="docs-validate-area">
|
|
@ViewBag.PasswordIsInvalid
|
|
@Html.ValidationMessageFor(m => m.OriginalPassword, "", new { @class = "text-danger" })
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
@Html.LabelFor(m => m.NewPassword, new { @class = "col-sm-4 control-label" })
|
|
<div class="col-sm-8">
|
|
@Html.PasswordFor(m => m.NewPassword, new { @class = "form-control" })
|
|
<span class="docs-validate-area">
|
|
@Html.ValidationMessageFor(m => m.NewPassword, "", new { @class = "text-danger" })
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
@Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-sm-4 control-label" })
|
|
<div class="col-sm-8">
|
|
@Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
|
|
<span class="docs-validate-area">
|
|
@Html.ValidationMessageFor(m => m.ConfirmPassword, "", new { @class = "text-danger" })
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<div class="col-sm-offset-4 col-sm-8">
|
|
<button type="submit" class="btn docs-btn-blue">@Resource.StaticLabelGlobal_Save</button>
|
|
<a href="~/Certification" class="btn docs-btn-default">@Resource.StaticLabelGlobal_Cancel</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
} |