<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Title="Change Password" Inherits="System.Web.Mvc.ViewPage" %>

Change Password

<% if( ( TempData["ErrorMessage"] ?? ViewData["ErrorMessage"] ) != null ){ %>

<% =TempData["ErrorMessage"] ?? ViewData["ErrorMessage"] %>

<% } %> <% if (ViewData["Success"] != null && (bool)ViewData["Success"] == true) { %>

Your password has been changed!

<% } %> <% using (Html.Form("FormsAuthentication", "ChangePassword")) { %>
Change Password
<% =Html.Password("currentPassword")%>
<% =Html.Password("newPassword")%>
<% =Html.Password("newPasswordConfirm")%>
<% =Html.SubmitButton( "submit", "Change Password", new { onclick = "return starterKit_mvc_membership_validateChangePassword();" } )%>
<% } %>