29 lines
942 B
Twig
29 lines
942 B
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}Register{% endblock %}
|
|
|
|
{% block body %}
|
|
{% for flashError in app.flashes('verify_email_error') %}
|
|
<div class="alert alert-danger" role="alert">{{ flashError }}</div>
|
|
{% endfor %}
|
|
|
|
<h1>Register</h1>
|
|
|
|
{{ form_start(registrationForm) }}
|
|
{{ form_row(registrationForm.email) }}
|
|
{{ form_row(registrationForm.username) }}
|
|
{{ form_row(registrationForm.plainPassword, {
|
|
label: 'Password'
|
|
}) }}
|
|
{{ form_row(registrationForm.agreeTerms) }}
|
|
|
|
|
|
<div class="form-group row">
|
|
<label class="col-form-label col-sm-2">CAPTCHA</label>
|
|
<div class="col-sm-10">
|
|
<div class="frc-captcha" data-sitekey="FCMLGE739LB528NG"></div>
|
|
</div>
|
|
</div>
|
|
<button type="submit" class="btn btn-lg btn-primary">Register</button>
|
|
{{ form_end(registrationForm) }}
|
|
{% endblock %}
|