mapguesser/views/login/google_signup.php

28 lines
1.2 KiB
PHP
Raw Normal View History

2020-06-28 19:32:30 +02:00
@js(js/login/google_signup.js)
2020-06-28 19:32:30 +02:00
@extends(templates/layout_normal)
2020-06-28 19:32:30 +02:00
@section(main)
<h2>Sign up</h2>
<div class="box">
2023-04-16 17:40:49 +02:00
<form id="googleSignupForm" action="/signup/google" method="post" data-redirect-on-success="<?= $redirectUrl ?>">
<?php if ($found): ?>
<p class="justify">Please confirm that you link your account to your Google account.</p>
<?php else: ?>
<p class="justify">Please confirm your sign up request. Your account will be linked to your Google account.</p>
<?php endif; ?>
<input type="email" class="text big fullWidth marginTop" name="email" placeholder="Email address" value="<?= $email ?>" disabled>
<div class="right">
<button class="marginTop marginRight" type="submit">
<?php if ($found): ?>
Link
<?php else: ?>
Sign up
<?php endif; ?>
</button><!--
--><button id="cancelGoogleSignupButton" class="gray marginTop" type="button">Cancel</button>
</div>
</form>
</div>
@endsection