44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
@model IdentitySample.Models.VerifyCodeViewModel
|
|
@{
|
|
//TODO: Until we have a way to specify the layout page at application level.
|
|
Layout = "/Views/Shared/_Layout.cshtml";
|
|
ViewBag.Title = "Enter Verification Code";
|
|
}
|
|
|
|
<h2>@ViewBag.Title.</h2>
|
|
|
|
@using (Html.BeginForm("VerifyCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
|
|
@Html.AntiForgeryToken()
|
|
@Html.ValidationSummary("", new { @class = "text-danger" })
|
|
@Html.Hidden("provider", @Model.Provider)
|
|
@Html.Hidden("rememberMe", @Model.RememberMe)
|
|
<h4>@ViewBag.Status</h4>
|
|
<hr />
|
|
<div class="form-group">
|
|
@Html.LabelFor(m => m.Code, new { @class = "col-md-2 control-label" })
|
|
<div class="col-md-10">
|
|
@Html.TextBoxFor(m => m.Code, new { @class = "form-control" })
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-md-offset-2 col-md-10">
|
|
<div class="checkbox">
|
|
@Html.CheckBoxFor(m => m.RememberBrowser)
|
|
@Html.LabelFor(m => m.RememberBrowser)
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-md-offset-2 col-md-10">
|
|
<input type="submit" class="btn btn-default" value="Submit" />
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
@section Scripts {
|
|
@*TODO : Until script helpers are available, adding script references manually*@
|
|
@*@Scripts.Render("~/bundles/jqueryval")*@
|
|
<script src="@Url.Content("~/Scripts/jquery.validate.js")"></script>
|
|
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")"></script>
|
|
}
|