gnu-social/templates/security/register.html.twig

35 lines
1.2 KiB
Twig
Raw Normal View History

{% extends 'stdgrid.html.twig' %}
2020-07-26 07:55:09 +09:00
{% 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">
<h1>{{ "Register" | trans }}</h1>
</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 %}