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 stylesheets %}
|
|
|
|
{{ parent() }}
|
2021-04-29 23:47:42 +01:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/security/security.css') }}">
|
2020-07-25 23:55:09 +01:00
|
|
|
{% endblock %}
|
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 %}
|
2021-09-15 00:25:16 +01:00
|
|
|
<section class="section-widget">
|
|
|
|
|
|
|
|
<form class="section-form" method="post">
|
|
|
|
{{ form_start(registration_form) }}
|
2022-01-04 19:05:06 +00:00
|
|
|
{{ form_errors(registration_form) }}
|
2021-09-15 00:25:16 +01:00
|
|
|
<fieldset>
|
|
|
|
<legend class="section-form-legend">{{ "Register" | trans }}</legend>
|
|
|
|
|
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 %}
|