@model WebInterface.Models.LogonRequest @{ ViewBag.Title = "Login"; Layout = "~/Views/Shared/_Layout.cshtml"; }

Authentication Required

@using (Html.BeginForm()) {

@foreach (var error in ViewData.ModelState.Keys.SelectMany(k => ViewData.ModelState[k].Errors)) { } @Html.HiddenFor(model => model.RedirectURL)
@Html.LabelFor(model => model.UserName, "Username", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.TextBoxFor(model => model.UserName, new { @class = "form-control", style = "width: 400px;" }) @Html.ValidationMessageFor(model => model.UserName, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Password, "Password", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.PasswordFor(model => model.Password, new { @class = "form-control", style = "width: 400px;" }) @Html.ValidationMessageFor(model => model.Password, "", new { @class = "text-danger" })
}