36 lines
1.7 KiB
HTML
36 lines
1.7 KiB
HTML
{% extends "assets/base.html.twig" %}
|
|
|
|
{% block content %}
|
|
<div class='container-sm' style="max-width: 540px;">
|
|
|
|
<h1 class="headline text-center">Register</h1>
|
|
|
|
<form action="register.php" method="POST" class="row">
|
|
<input type="hidden" name="referrerPage" value="<?=$returnToPage;?>">
|
|
<div class="col-md-6">
|
|
<label for="newEmail" class="form-label">Email*</label>
|
|
<input type="email" class="form-control" id="newEmail" name="newEmail" maxlength="220" required value="{{ data.newEmail }}">
|
|
</div>
|
|
<div class="col-md-6">
|
|
<label for="newPassword" class="form-label">Password*</label>
|
|
<input type="password" class="form-control" id="newPassword" name="newPassword" minlength="6" maxlength="30" required>
|
|
</div>
|
|
<div class="col-12">
|
|
<label for="newName" class="form-label">Full name</label>
|
|
<input type="text" class="form-control" id="newName" name="newName" maxlength="200" value="{{ data.newName }}">
|
|
</div>
|
|
<div class="col-12" style="margin: 3px 0;">
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="checkbox" id="gridCheck" required>
|
|
<label class="form-check-label" for="gridCheck">
|
|
I will read the Terms and Conditions when they are published.
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 mb-3">
|
|
<button type="submit" class="btn btn-primary w-100">Sign up</button>
|
|
</div>
|
|
</form>
|
|
<p>Already have an account? <a href="login.php">Login</a></p>
|
|
</div>
|
|
{% endblock %} |