@model Sevomin.Models.ChangePasswordViewModel

@{
    ViewBag.Title = "تغییر کلمه عبور";
}
@Html.Partial("PostResult", ViewBag.Result as Sevomin.Models.PostResultViewModel)
<div class="page-header rtl">
    <h1>تغییر کلمه عبور</h1>
</div>
<div class="row rtl">
    <div class="col-md-12">
        @using (Html.BeginForm("ChangePassword", "Account", FormMethod.Post, new { role = "form" }))
        {
            @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.NewPassword, new { @class = "control-label" })
                    </div>
                    <div class="col-md-9">
                        @Html.PasswordFor(model => model.NewPassword, new { @class = "form-control ltr" })
                        @Html.ValidationMessageFor(model => model.NewPassword)
                    </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>