initial commit
[CPE_learningsite] / CPE / CPE.App / CPE.App.Web / Views / Account / ExternalLoginConfirmation.cshtml
1 @model CPE.App.Web.Models.ExternalLoginConfirmationViewModel
2 @{
3     ViewBag.Title = "Register";
4 }
5 <h2>@ViewBag.Title.</h2>
6 <h3>Associate your @ViewBag.LoginProvider account.</h3>
7
8 @using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
9 {
10     @Html.AntiForgeryToken()
11
12     <h4>Association Form</h4>
13     <hr />
14     @Html.ValidationSummary(true, "", new { @class = "text-danger" })
15     <p class="text-info">
16         You've successfully authenticated with <strong>@ViewBag.LoginProvider</strong>.
17         Please enter a user name for this site below and click the Register button to finish
18         logging in.
19     </p>
20     <div class="form-group">
21         @Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
22         <div class="col-md-10">
23             @Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
24             @Html.ValidationMessageFor(m => m.Email, "", new { @class = "text-danger" })
25         </div>
26     </div>
27     <div class="form-group">
28         <div class="col-md-offset-2 col-md-10">
29             <input type="submit" class="btn btn-default" value="Register" />
30         </div>
31     </div>
32 }
33
34 @section Scripts {
35     @Scripts.Render("~/bundles/jqueryval")
36 }