Last active
December 17, 2015 19:49
-
-
Save Maarten88/5662689 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@model Auction.Web.Models.LoginModel | |
@{ | |
ViewBag.Title = "Log in"; | |
} | |
<h1>@ViewBag.Title <small>with local or social network account</small></h1> | |
<div class="row-fluid"> | |
<div class="span6"> | |
@using (Html.BeginForm(null, null, new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal well" })) | |
{ | |
@Html.AntiForgeryToken() | |
@Html.ValidationSummary(true) | |
<fieldset> | |
<legend>using a local account</legend> | |
@Html.EditorFor(m => m.UserName, new { @class = "input-small" }) | |
@Html.EditorFor(m => m.Password, new { @class = "input-small" }) | |
@Html.EditorFor(m => m.RememberMe) | |
<input class="btn btn-primary" type="submit" value="Log in" /> | |
or @Html.ActionLink("Register", "Register") if you don't have an account. | |
</fieldset> | |
} | |
</div> | |
<div class="span6"> | |
@Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl }) | |
</div> | |
</div> <!-- row-fluid --> | |
@section Scripts { | |
@Scripts.Render("~/bundles/jqueryval") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment