@model dynamic

<header class="static-page-header">
    <h1 class="static-page-title">@Html.TitleForPage(T("Change Password").ToString()) </h1>
    <p class="static-page-subtitle">@T("Use the form below to change your password.")</p>
</header>

<p class="account-actions">@T("New passwords are required to be a minimum of {0} characters in length.", ViewData["PasswordLength"])</p>

@Html.ValidationSummary(T("Password change was unsuccessful. Please correct the errors and try again.").ToString())

@using (Html.BeginFormAntiForgeryPost()) {
        <div class="form-group">
            @Html.Password("currentPassword", "", new { placeholder = @T("Current Password") }) 
            @Html.ValidationMessage("currentPassword") 
        </div> 
       
        <div class="form-group">
            @Html.Password("newPassword", "", new { placeholder = @T("New Password") }) 
            @Html.ValidationMessage("newPassword") 
        </div>

        <div class="form-group">
            @Html.Password("confirmPassword", "", new { placeholder = @T("Confirm New Password") }) 
            @Html.ValidationMessage("confirmPassword") 
        </div>

        <button type="submit" class="btn btn-primary">@T("Change Password")</button>
 } 