You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.3 KiB
38 lines
1.3 KiB
@model SpaAspNetCore.Models.VerifyCodeViewModel
|
|
@{
|
|
ViewBag.Title = "Проверить";
|
|
}
|
|
|
|
<h2>@ViewBag.Title.</h2>
|
|
|
|
@using (Html.BeginForm("VerifyCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
|
|
@Html.AntiForgeryToken()
|
|
@Html.Hidden("provider", @Model.Provider)
|
|
@Html.Hidden("rememberMe", @Model.RememberMe)
|
|
<h4>Введите проверочный код</h4>
|
|
<hr />
|
|
@Html.ValidationSummary("", new { @class = "text-danger" })
|
|
<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="Отправить" />
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
@section Scripts {
|
|
@Scripts.Render("~/bundles/jqueryval")
|
|
}
|
|
|