Rev | Line | |
---|
[4729] | 1 | <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HLWebPluginHost.Models.LogOnModel>" %>
|
---|
[4604] | 2 |
|
---|
| 3 | <asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">
|
---|
| 4 | Log On
|
---|
| 5 | </asp:Content>
|
---|
| 6 |
|
---|
| 7 | <asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
|
---|
| 8 | <h2>Log On</h2>
|
---|
| 9 | <p>
|
---|
| 10 | Please enter your username and password. <%: Html.ActionLink("Register", "Register") %> if you don't have an account.
|
---|
| 11 | </p>
|
---|
| 12 |
|
---|
| 13 | <% using (Html.BeginForm()) { %>
|
---|
| 14 | <%: Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.") %>
|
---|
[6316] | 15 | <div class="hl-signon-form">
|
---|
[4604] | 16 | <fieldset>
|
---|
| 17 | <legend>Account Information</legend>
|
---|
| 18 |
|
---|
| 19 | <div class="editor-label">
|
---|
| 20 | <%: Html.LabelFor(m => m.UserName) %>
|
---|
[4729] | 21 | </div>
|
---|
[4604] | 22 | <div class="editor-field">
|
---|
| 23 | <%: Html.TextBoxFor(m => m.UserName) %>
|
---|
| 24 | <%: Html.ValidationMessageFor(m => m.UserName) %>
|
---|
| 25 | </div>
|
---|
| 26 |
|
---|
| 27 | <div class="editor-label">
|
---|
| 28 | <%: Html.LabelFor(m => m.Password) %>
|
---|
| 29 | </div>
|
---|
| 30 | <div class="editor-field">
|
---|
| 31 | <%: Html.PasswordFor(m => m.Password) %>
|
---|
| 32 | <%: Html.ValidationMessageFor(m => m.Password) %>
|
---|
| 33 | </div>
|
---|
| 34 |
|
---|
| 35 | <div class="editor-label">
|
---|
| 36 | <%: Html.CheckBoxFor(m => m.RememberMe) %>
|
---|
| 37 | <%: Html.LabelFor(m => m.RememberMe) %>
|
---|
| 38 | </div>
|
---|
| 39 |
|
---|
[6316] | 40 | <input type="submit" value="Log On" class="hl-button-text-signon"/>
|
---|
[4604] | 41 | </fieldset>
|
---|
| 42 | </div>
|
---|
| 43 | <% } %>
|
---|
| 44 | </asp:Content>
|
---|
Note: See
TracBrowser
for help on using the repository browser.