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

Log On

Please enter your username and password. <%: Html.ActionLink("Register", "Register") %> if you don't have an account.

<% using (Html.BeginForm()) { %> <%: Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.") %>
Account Information
<%: Html.LabelFor(m => m.UserName) %>
<%: Html.TextBoxFor(m => m.UserName) %> <%: Html.ValidationMessageFor(m => m.UserName) %>
<%: Html.LabelFor(m => m.Password) %>
<%: Html.PasswordFor(m => m.Password) %> <%: Html.ValidationMessageFor(m => m.Password) %>
<%: Html.CheckBoxFor(m => m.RememberMe) %> <%: Html.LabelFor(m => m.RememberMe) %>
<% } %>