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

Login

To log in, use the following credentials:
<% if( ( TempData["ErrorMessage"] ?? ViewData["ErrorMessage"] ) != null ){ %>

<% =TempData["ErrorMessage"] ?? ViewData["ErrorMessage"] %>

<% } %> <% using(Html.Form( "FormsAuthentication", "Authenticate" )){ %>
Login
<% =Html.TextBox( "userName", 32, 256 ) %>
<% =Html.Password( "password", 32 ) %>
<% =Html.Hidden( "returnUrl", Request.QueryString["ReturnUrl"] ?? FormsAuthentication.DefaultUrl ) %>
<% =Html.SubmitButton( "submit", "Login", new{ onclick = "return starterKit_mvc_membership_validateLogin();" } ) %>
<% =Html.ActionLink("Forgot your password?", "PasswordRecovery", "FormsAuthentication") %>
<% } %>