diff --git a/templates/admin/association/membership/register.html.twig b/templates/admin/association/membership/register.html.twig index 4eaebe648..7fa4bbf10 100644 --- a/templates/admin/association/membership/register.html.twig +++ b/templates/admin/association/membership/register.html.twig @@ -1,41 +1,58 @@ -{% extends 'admin/association/membership/_base.html.twig' %} +{% extends 'layouts/site.html.twig' %} +{% form_theme form 'form_themes/tailwind.html.twig' %} {% block page_title %}Formulaire d'inscription à l'AFUP{% endblock %} -{% block submenu %} - {{ render(controller( - 'AppBundle\\Controller\\Website\\SecondaryMenuController::display', - { 'feuille_id': constant('Afup\\Site\\Corporate\\Feuille::ID_FEUILLE_ASSOCIATION') } - )) }} -{% endblock %} +{% block content %} +
+

{{ "Formulaire d'inscription à l'AFUP"|trans }}

+ + {{ form_start(form, {attr: {class: 'self-stretch'}}) }} -{% block page_content %} -
- {{ form_start(form) }} -
- Information -
+ + {{ 'Créer votre compte'|trans }} {{ form_errors(form) }} - {{ form_row(form.genre) }} - {{ form_row(form.userCommonInfo.lastName) }} - {{ form_row(form.userCommonInfo.firstName) }} - {{ form_row(form.userCommonInfo.username) }} - {{ form_row(form.userCommonInfo.email) }} - {{ form_row(form.userCommonInfo.address) }} - {{ form_row(form.userCommonInfo.zipcode) }} - {{ form_row(form.userCommonInfo.city) }} - {{ form_row(form.country) }} - {{ form_row(form.userCommonInfo.phone) }} - {{ form_row(form.mobilephone) }} - {{ form_row(form.nearestOffice) }} -
- {{ form_widget(form.userCommonInfo.password) }} + + +
+ {{ form_row(form.genre) }} + {{ form_row(form.userCommonInfo.lastName) }} + {{ form_row(form.userCommonInfo.firstName) }} +
+ {{ form_row(form.userCommonInfo.username) }} +
+ {{ form_row(form.userCommonInfo.email) }} + {{ form_row(form.userCommonInfo.phone) }} + {{ form_row(form.mobilephone) }} +
+
+ + + {{ form_row(form.userCommonInfo.address) }} +
+ {{ form_row(form.userCommonInfo.zipcode) }} + {{ form_row(form.userCommonInfo.city) }} + {{ form_row(form.country) }} + {{ form_row(form.nearestOffice) }} +
+
+ + +
+ {{ form_row(form.userCommonInfo.password.first) }} + {{ form_row(form.userCommonInfo.password.second) }} +
+
+ + +
+

{{ 'Vous avez un compte ?'|trans }} {{ 'Se connecter'|trans }}

+ {{ form_widget(form.userCommonInfo.save, {attr: { "class": "flex flex-row justify-center items-center py-3 px-8 gap-2 bg-ruby-500 rounded-lg font-sans font-semibold text-base text-white text-center"}}) }}
-
-
-
- {{ form_widget(form.userCommonInfo.save, {attr: { "class": "button button--call-to-action"}}) }} + + + {{ form_end(form) }} +
- {{ form_end(form) }} -
+ {% endblock %}