Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HLWebPluginHost/Views/Account/Register.aspx @ 4604

Last change on this file since 4604 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.4 KB
Line 
1<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HeuristicLabWeb.PluginHost.Models.RegisterModel>" %>
2
3<asp:Content ID="registerTitle" ContentPlaceHolderID="TitleContent" runat="server">
4    Register
5</asp:Content>
6
7<asp:Content ID="registerContent" ContentPlaceHolderID="MainContent" runat="server">
8    <h2>Create a New Account</h2>
9    <p>
10        Use the form below to create a new account.
11    </p>
12    <p>
13        Passwords are required to be a minimum of <%: ViewData["PasswordLength"] %> characters in length.
14    </p>
15
16    <% using (Html.BeginForm()) { %>
17        <%: Html.ValidationSummary(true, "Account creation 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.UserName) %>
24                </div>
25                <div class="editor-field">
26                    <%: Html.TextBoxFor(m => m.UserName) %>
27                    <%: Html.ValidationMessageFor(m => m.UserName) %>
28                </div>
29               
30                <div class="editor-label">
31                    <%: Html.LabelFor(m => m.Email) %>
32                </div>
33                <div class="editor-field">
34                    <%: Html.TextBoxFor(m => m.Email) %>
35                    <%: Html.ValidationMessageFor(m => m.Email) %>
36                </div>
37               
38                <div class="editor-label">
39                    <%: Html.LabelFor(m => m.Password) %>
40                </div>
41                <div class="editor-field">
42                    <%: Html.PasswordFor(m => m.Password) %>
43                    <%: Html.ValidationMessageFor(m => m.Password) %>
44                </div>
45               
46                <div class="editor-label">
47                    <%: Html.LabelFor(m => m.ConfirmPassword) %>
48                </div>
49                <div class="editor-field">
50                    <%: Html.PasswordFor(m => m.ConfirmPassword) %>
51                    <%: Html.ValidationMessageFor(m => m.ConfirmPassword) %>
52                </div>
53               
54                <p>
55                    <input type="submit" value="Register" />
56                </p>
57            </fieldset>
58        </div>
59    <% } %>
60</asp:Content>
Note: See TracBrowser for help on using the repository browser.