%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<$safeprojectname$.Models.LoginModel>" %> Iniciar sesión <%: Html.ActionLink("Cancelar", "Index", "Home", null, new { data_icon = "arrow-l", data_rel = "back" }) %> Iniciar sesión Escriba su nombre de usuario y contraseña. <%: Html.ActionLink("Registrarse", "Register") %> si no tiene una cuenta. <% using (Html.BeginForm()) { %> <%: Html.AntiForgeryToken() %> <%: Html.ValidationSummary() %> Detalles <%: Html.LabelFor(m => m.UserName) %> <%: Html.TextBoxFor(m => m.UserName) %> <%: Html.LabelFor(m => m.Password) %> <%: Html.PasswordFor(m => m.Password) %> <%: Html.LabelFor(m => m.RememberMe) %> <%: Html.CheckBoxFor(m => m.RememberMe) %> <% } %> <%: Scripts.Render("~/bundles/jqueryval") %>
Escriba su nombre de usuario y contraseña. <%: Html.ActionLink("Registrarse", "Register") %> si no tiene una cuenta.