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

29 lines
933 B
Twig
Raw Normal View History

{% extends 'stdgrid.html.twig' %}
2020-07-25 23:55:09 +01:00
{% block stylesheets %}
{{ parent() }}
<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 23:55:09 +01:00
{% block title %}Register{% endblock %}
{% block body %}
<div class='content'>
{% for flashError in app.flashes('verify_email_error') %}
<div class="alert alert-danger" role="alert">{{ flashError }}</div>
{% endfor %}
{{ form_start(registration_form) }}
<fieldset>
<legend>Register a new account</legend>
{{ form_row(registration_form.nickname) }} <p></p>
{{ form_row(registration_form.email) }} <p></p>
{{ form_row(registration_form.password) }} <p></p>
{{ form_row(registration_form.register) }}
</fieldset>
{{ form_end(registration_form) }}
</div>
{% endblock body %}
{% block javascripts %}{% endblock %}