{% extends 'layouts/layout.html.twig' %}
{% form_theme form 'bootstrap_4_layout.html.twig' %}
{% block content %}
<div class="container">
<div class="mb-5 d-flex justify-content-center">
<div class="col-12 col-md-6">
{% if errors %}
{% for error in errors %}
<div class="alert alert-danger">
{{ error | raw }}
</div>
{% endfor %}
{% endif %}
<h1 class="display-3 mb-3 font-weight-normal">{{ 'general.register' | trans }}</h1>
{{ form(form) }}
</div>
</div>
</div>
{% endblock %}