%@ Page Language="VB" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage(Of $safeprojectname$.LoginModel)" %> Log in Log in. Use a local account to log in. <% Using Html.BeginForm(New With { .ReturnUrl = ViewData("ReturnUrl") }) %> <%: Html.AntiForgeryToken() %> <%: Html.ValidationSummary(true) %> Log in Form <%: Html.LabelFor(Function(m) m.UserName) %> <%: Html.TextBoxFor(Function(m) m.UserName) %> <%: Html.ValidationMessageFor(Function(m) m.UserName) %> <%: Html.LabelFor(Function(m) m.Password) %> <%: Html.PasswordFor(Function(m) m.Password) %> <%: Html.ValidationMessageFor(Function(m) m.Password) %> <%: Html.CheckBoxFor(Function(m) m.RememberMe) %> <%: Html.LabelFor(Function(m) m.RememberMe, New With { .Class = "checkbox" }) %> <%: Html.ActionLink("Register", "Register") %> if you don't have an account. <% End Using %> Use another service to log in. <%: Html.Action("ExternalLoginsList", New With { .ReturnUrl = ViewData("ReturnUrl") }) %> <%: Scripts.Render("~/bundles/jqueryval") %>
<%: Html.ActionLink("Register", "Register") %> if you don't have an account.
Use another service to log in.
<%: Html.Action("ExternalLoginsList", New With { .ReturnUrl = ViewData("ReturnUrl") }) %>