diff options
Diffstat (limited to 'Project-Unite/Views/Account/ExternalLoginConfirmation.cshtml')
| -rw-r--r-- | Project-Unite/Views/Account/ExternalLoginConfirmation.cshtml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Project-Unite/Views/Account/ExternalLoginConfirmation.cshtml b/Project-Unite/Views/Account/ExternalLoginConfirmation.cshtml new file mode 100644 index 0000000..bcc491c --- /dev/null +++ b/Project-Unite/Views/Account/ExternalLoginConfirmation.cshtml @@ -0,0 +1,36 @@ +@model Project_Unite.Models.ExternalLoginConfirmationViewModel +@{ + ViewBag.Title = "Register"; +} +<h2>@ViewBag.Title.</h2> +<h3>Associate your @ViewBag.LoginProvider account.</h3> + +@using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) +{ + @Html.AntiForgeryToken() + + <h4>Association Form</h4> + <hr /> + @Html.ValidationSummary(true, "", new { @class = "text-danger" }) + <p class="text-info"> + You've successfully authenticated with <strong>@ViewBag.LoginProvider</strong>. + Please enter a user name for this site below and click the Register button to finish + logging in. + </p> + <div class="form-group"> + @Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" }) + <div class="col-md-10"> + @Html.TextBoxFor(m => m.Email, new { @class = "form-control" }) + @Html.ValidationMessageFor(m => m.Email, "", new { @class = "text-danger" }) + </div> + </div> + <div class="form-group"> + <div class="col-md-offset-2 col-md-10"> + <input type="submit" class="btn btn-default" value="Register" /> + </div> + </div> +} + +@section Scripts { + @Scripts.Render("~/bundles/jqueryval") +} |
