initial commit
[CPE_learningsite] / CPE / CPE.App / CPE.App.Web / Views / Account / VerifyCode.cshtml
1 @model CPE.App.Web.Models.VerifyCodeViewModel
2 @{
3     ViewBag.Title = "Verify";
4 }
5
6 <h2>@ViewBag.Title.</h2>
7
8 @using (Html.BeginForm("VerifyCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
9     @Html.AntiForgeryToken()
10     @Html.Hidden("provider", @Model.Provider)
11     @Html.Hidden("rememberMe", @Model.RememberMe)
12     <h4>Enter verification code</h4>
13     <hr />
14     @Html.ValidationSummary("", new { @class = "text-danger" })
15     <div class="form-group">
16         @Html.LabelFor(m => m.Code, new { @class = "col-md-2 control-label" })
17         <div class="col-md-10">
18             @Html.TextBoxFor(m => m.Code, new { @class = "form-control" })
19         </div>
20     </div>
21     <div class="form-group">
22         <div class="col-md-offset-2 col-md-10">
23             <div class="checkbox">
24                 @Html.CheckBoxFor(m => m.RememberBrowser)
25                 @Html.LabelFor(m => m.RememberBrowser)
26             </div>
27         </div>
28     </div>
29     <div class="form-group">
30         <div class="col-md-offset-2 col-md-10">
31             <input type="submit" class="btn btn-default" value="Submit" />
32         </div>
33     </div>
34 }
35
36 @section Scripts {
37     @Scripts.Render("~/bundles/jqueryval")
38 }