e2e1b0172d
[CSS] Simplyfying rules, re-ordering and removing unnecessary and costly 'display: flex' rules [CARDS][Note] Minimal note macro has info inside the note itself now, since horizontal space is limited
38 lines
1.3 KiB
Twig
38 lines
1.3 KiB
Twig
{% extends 'stdgrid.html.twig' %}
|
|
|
|
{% block stylesheets %}
|
|
{{ parent() }}
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/security/security.css') }}">
|
|
{% endblock %}
|
|
|
|
{% block title %}Register{% endblock %}
|
|
|
|
{% block body %}
|
|
<section class="frame-section">
|
|
<form class="section-form" method="post">
|
|
{{ form_start(registration_form) }}
|
|
{{ form_errors(registration_form) }}
|
|
<fieldset class="container-block">
|
|
<legend class="section-form-legend">{{ "Register" | trans }}</legend>
|
|
|
|
{% 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 %}
|
|
|
|
{{ 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>
|
|
{% endblock body %}
|
|
|
|
{% block javascripts %}{% endblock %}
|