%@ Page Language="VB" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage(Of $safeprojectname$.LoginModel)" %> Log in <%: Html.ActionLink("Cancel", "Index", "Home", Nothing, New With {.data_icon = "arrow-l", .data_rel = "back" }) %> Log in Please enter your user name and password. <%: Html.ActionLink("Register", "Register") %> if you don't have an account. <% Using Html.BeginForm() %> <%: Html.AntiForgeryToken() %> <%: Html.ValidationSummary() %> Details <%: Html.LabelFor(Function(m) m.UserName) %> <%: Html.TextBoxFor(Function(m) m.UserName) %> <%: Html.LabelFor(Function(m) m.Password) %> <%: Html.PasswordFor(Function(m) m.Password) %> <%: Html.LabelFor(Function(m) m.RememberMe) %> <%: Html.CheckBoxFor(Function(m) m.RememberMe) %> <% End Using %> <%: Scripts.Render("~/bundles/jqueryval") %>
Please enter your user name and password. <%: Html.ActionLink("Register", "Register") %> if you don't have an account.