Files
Escapepage/templates/tech/registration/register.html.twig
T
Frank fd8d1730e8 Add Terms and Conditions page and link it from registration/footer
Adds a /terms page and links it from the site footer and from the
"I agree to the Terms and Conditions" checkbox on registration, which
previously didn't point anywhere.
2026-08-29 10:57:48 +02:00

28 lines
970 B
Twig

{% extends 'layout/auth.html.twig' %}
{% block title %}Register{% endblock %}
{% block auth_body %}
{{ form_errors(registrationForm) }}
{{ form_start(registrationForm) }}
{{ form_row(registrationForm.email) }}
{{ form_row(registrationForm.username) }}
{{ form_row(registrationForm.plainPassword) }}
{{ form_row(registrationForm.agreeTerms) }}
<p class="small text-muted mt-n2 mb-3">
<a href="{{ path('website_terms') }}" target="_blank" rel="noopener">Read the Terms and Conditions</a>
</p>
{{ form_row(registrationForm.marketingOptIn) }}
{{ form_row(registrationForm.captcha) }}
<div class="d-grid mt-3">
<button type="submit" class="btn btn-primary">Register</button>
</div>
{{ form_end(registrationForm) }}
<div class="mt-3 text-center">
<a href="{{ path('app_login') }}">Already have an account? Log in</a>
</div>
{% endblock %}