%@ Page Language="VB" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage(Of $safeprojectname$.ChangePasswordModel)" %> Change Password <%: Html.ActionLink("Cancel", "Index", "Home", Nothing, New With {.data_icon = "arrow-l", .data_rel = "back" }) %> Change Password Passwords must be at least <%: Membership.MinRequiredPasswordLength %> characters long. <% Using Html.BeginForm() %> <%: Html.AntiForgeryToken() %> <%: Html.ValidationSummary() %> Account information <%: Html.LabelFor(Function(m) m.OldPassword) %> <%: Html.PasswordFor(Function(m) m.OldPassword) %> <%: Html.LabelFor(Function(m) m.NewPassword) %> <%: Html.PasswordFor(Function(m) m.NewPassword) %> <%: Html.LabelFor(Function(m) m.ConfirmPassword) %> <%: Html.PasswordFor(Function(m) m.ConfirmPassword) %> <% End Using %> <%: Scripts.Render("~/bundles/jqueryval") %>
Passwords must be at least <%: Membership.MinRequiredPasswordLength %> characters long.