@model GODATA.Models.LogOnModel @{ ViewBag.Title = System.Configuration.ConfigurationManager.AppSettings["Title"] + " | Log On"; Layout = null; }
Login
@Html.ValidationSummary(true) @using (Ajax.BeginForm("LogOn", "Account", new AjaxOptions { HttpMethod = "Post", UpdateTargetId = "divLoginBox", OnBegin = "loginBegin", OnFailure = "loginFailure", OnSuccess = "loginSuccessful", LoadingElementId = "divLoadingElement" })) { @*
 
*@
@*@Html.LabelFor(m => m.UserName)*@ @Html.TextBoxFor(m => m.UserName, new { @class = "largeWidth" }) @Html.ValidationMessageFor(m => m.UserName)
@*@Html.LabelFor(m => m.Password)*@ @Html.PasswordFor(m => m.Password, new { @class = "largeWidth" }) @Html.ValidationMessageFor(m => m.Password)

@Html.ActionLink("Forgot password?", "ForgotPassword", "Account") @Html.Hidden("returnUrl", Request.QueryString["returnUrl"])
}