Last change
on this file since 4695 was
4604,
checked in by dkahn, 14 years ago
|
#1198 Imported new Plugin Host solution for the new MVC2 based web application
|
File size:
2.1 KB
|
Line | |
---|
1 | <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HeuristicLabWeb.PluginHost.Models.ChangePasswordModel>" %>
|
---|
2 |
|
---|
3 | <asp:Content ID="changePasswordTitle" ContentPlaceHolderID="TitleContent" runat="server">
|
---|
4 | Change Password
|
---|
5 | </asp:Content>
|
---|
6 |
|
---|
7 | <asp:Content ID="changePasswordContent" ContentPlaceHolderID="MainContent" runat="server">
|
---|
8 | <h2>Change Password</h2>
|
---|
9 | <p>
|
---|
10 | Use the form below to change your password.
|
---|
11 | </p>
|
---|
12 | <p>
|
---|
13 | New passwords are required to be a minimum of <%: ViewData["PasswordLength"] %> characters in length.
|
---|
14 | </p>
|
---|
15 |
|
---|
16 | <% using (Html.BeginForm()) { %>
|
---|
17 | <%: Html.ValidationSummary(true, "Password change was unsuccessful. Please correct the errors and try again.") %>
|
---|
18 | <div>
|
---|
19 | <fieldset>
|
---|
20 | <legend>Account Information</legend>
|
---|
21 |
|
---|
22 | <div class="editor-label">
|
---|
23 | <%: Html.LabelFor(m => m.OldPassword) %>
|
---|
24 | </div>
|
---|
25 | <div class="editor-field">
|
---|
26 | <%: Html.PasswordFor(m => m.OldPassword) %>
|
---|
27 | <%: Html.ValidationMessageFor(m => m.OldPassword) %>
|
---|
28 | </div>
|
---|
29 |
|
---|
30 | <div class="editor-label">
|
---|
31 | <%: Html.LabelFor(m => m.NewPassword) %>
|
---|
32 | </div>
|
---|
33 | <div class="editor-field">
|
---|
34 | <%: Html.PasswordFor(m => m.NewPassword) %>
|
---|
35 | <%: Html.ValidationMessageFor(m => m.NewPassword) %>
|
---|
36 | </div>
|
---|
37 |
|
---|
38 | <div class="editor-label">
|
---|
39 | <%: Html.LabelFor(m => m.ConfirmPassword) %>
|
---|
40 | </div>
|
---|
41 | <div class="editor-field">
|
---|
42 | <%: Html.PasswordFor(m => m.ConfirmPassword) %>
|
---|
43 | <%: Html.ValidationMessageFor(m => m.ConfirmPassword) %>
|
---|
44 | </div>
|
---|
45 |
|
---|
46 | <p>
|
---|
47 | <input type="submit" value="Change Password" />
|
---|
48 | </p>
|
---|
49 | </fieldset>
|
---|
50 | </div>
|
---|
51 | <% } %>
|
---|
52 | </asp:Content>
|
---|
Note: See
TracBrowser
for help on using the repository browser.