2021-04-29 20:51:13 +01:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2020-07-25 03:06:55 +01:00
|
|
|
|
2020-07-25 23:55:09 +01:00
|
|
|
{% block title %}Register{% endblock %}
|
2020-07-25 03:06:55 +01:00
|
|
|
|
2020-10-19 23:45:48 +01:00
|
|
|
{% block body %}
|
2022-01-19 23:54:45 +00:00
|
|
|
<section class="frame-section">
|
2021-09-15 00:25:16 +01:00
|
|
|
<form class="section-form" method="post">
|
|
|
|
{{ form_start(registration_form) }}
|
2022-01-04 19:05:06 +00:00
|
|
|
{{ form_errors(registration_form) }}
|
2022-01-21 18:02:27 +00:00
|
|
|
<fieldset class="container-block">
|
2022-02-16 23:42:44 +00:00
|
|
|
<legend class="section-form-legend">
|
|
|
|
<h1>{{ "Register" | trans }}</h1>
|
|
|
|
</legend>
|
2021-09-15 00:25:16 +01:00
|
|
|
|
2021-09-15 14:47:29 +01:00
|
|
|
{% for flashError in app.flashes('verify_email_error') %}
|
|
|
|
<label class="alert alert-danger" role="alert">{{ flashError }}</label>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% for flashError in app.flashes('verify_nickname_error') %}
|
|
|
|
<label class="alert alert-danger" role="alert">{{ flashError }}</label>
|
|
|
|
{% endfor %}
|
2021-09-15 00:25:16 +01:00
|
|
|
|
|
|
|
{{ form_row(registration_form.nickname) }}
|
|
|
|
{{ form_row(registration_form.email) }}
|
|
|
|
{{ form_row(registration_form.password) }}
|
|
|
|
{{ form_row(registration_form.register) }}
|
|
|
|
</fieldset>
|
|
|
|
{{ form_end(registration_form) }}
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</section>
|
2020-10-19 23:22:31 +01:00
|
|
|
{% endblock body %}
|
2020-10-19 23:45:48 +01:00
|
|
|
|
|
|
|
{% block javascripts %}{% endblock %}
|