@using WebsitePanel.WebDavPortal.Resources @using WebsitePanel.WebDavPortal.UI.Routes @model WebsitePanel.WebDavPortal.Models.Account.PasswordChangeModel @{ Layout = "~/Views/Shared/_Layout.cshtml"; }
@using (Html.BeginRouteForm(AccountRouteNames.PasswordChange, FormMethod.Post, new { @class = "form-horizontal user-password-change bs-val-styles col-lg-10 col-lg-offset-3", id = "user-password-change" })) {

@UI.ChangePassword

@Html.PasswordFor(x => x.OldPassword, new { @class = "form-control", placeholder = UI.OldPassword }) @Html.ValidationMessageFor(x => x.OldPassword)
@Html.EditorFor(x=>x.PasswordEditor)
}