@model MemberCenter.Web.Models.Account.ExternalRegisterConfirmationViewModel
@{
    Layout = "_AuthLayout";
    ViewData["Title"] = L["Complete registration"];
}

<div class="auth-heading-row">
  <div>
    <h1>@L["Complete registration"]</h1>
    <p>@L["Review and accept the terms to create your account."]</p>
  </div>
  <a asp-area="" asp-controller="Account" asp-action="Login">@L["Back to login"]</a>
</div>

<div asp-validation-summary="All"></div>

<form class="auth-form" method="post" asp-area="" asp-controller="Account" asp-action="ExternalRegisterConfirmation">
  <input type="hidden" asp-for="Provider" />
  <input type="hidden" asp-for="Email" />
  <input type="hidden" asp-for="ReturnUrl" />
  <input type="hidden" asp-for="RememberMe" />

  <div class="auth-external-account">
    <span>@L["Google account"]</span>
    <strong>@(Model.Email ?? L["Email unavailable"].Value)</strong>
  </div>

  <label class="auth-terms">
    <input asp-for="AcceptTerms" />
    <span>
      @L["I have read and agree to the"]
      <a asp-area="" asp-controller="Home" asp-action="Terms" target="_blank" rel="noopener">@L["Terms of Service"]</a>
      @L["and"]
      <a asp-area="" asp-controller="Home" asp-action="Privacy" target="_blank" rel="noopener">@L["Privacy Policy"]</a>.
    </span>
  </label>
  <span asp-validation-for="AcceptTerms"></span>

  <button type="submit" class="auth-submit-button">@L["Create account"]</button>
</form>
