diff --git a/templates/admin/association/membership/_company_menu.html.twig b/templates/admin/association/membership/_company_menu.html.twig deleted file mode 100644 index 67c04a2fd..000000000 --- a/templates/admin/association/membership/_company_menu.html.twig +++ /dev/null @@ -1,24 +0,0 @@ -{% include 'site/secondary_menu.html.twig' with { - menu: [ - { - "nom" : "Accueil", - "lien": path('member_index'), - 'is_active': current == "home", - }, - { - "nom" : "Coordonnées", - "lien": path('member_company'), - 'is_active': current == "contact", - }, - { - "nom": "Membres", - "lien": path('member_company_members'), - "is_active": current == "members", - }, - { - "nom": "Profil public", - "lien": path('member_company_public_profile'), - "is_active": current == "public_profile", - }, - ] -} only %} diff --git a/templates/admin/association/membership/_member_menu.html.twig b/templates/admin/association/membership/_member_menu.html.twig deleted file mode 100644 index 646e4b4f6..000000000 --- a/templates/admin/association/membership/_member_menu.html.twig +++ /dev/null @@ -1,29 +0,0 @@ -{% include 'site/secondary_menu.html.twig' with { - menu: [ - { - "nom" : "Accueil", - "lien": path('member_index'), - 'is_active': current == "home", - }, - { - "nom" : "Coordonnées", - "lien": path('member_contact'), - 'is_active': current == "contact", - }, - { - "nom": "Cotisations", - "lien": path('member_membership_fee'), - "is_active": current == "membershipfee" - }, - { - "nom": "Veille", - "lien": path('member_techletter'), - "is_active": current == "techletter", - }, - { - "nom": "Assemblée générale", - "lien": path('member_general_meeting'), - "is_active": current == "generalmeeting", - } - ] -} only %} diff --git a/templates/admin/association/membership/company.html.twig b/templates/admin/association/membership/company.html.twig index 4c8c3fffc..bef280ea3 100644 --- a/templates/admin/association/membership/company.html.twig +++ b/templates/admin/association/membership/company.html.twig @@ -1,43 +1,49 @@ -{% extends 'admin/association/membership/_base.html.twig' %} +{% extends 'layouts/member_company.html.twig' %} +{% form_theme form 'form_themes/tailwind.html.twig' %} -{% block submenu %} - {% include 'admin/association/membership/_company_menu.html.twig' with { - current: "contact" - } only %} -{% endblock %} +{% block title %}Mon adhésion entreprise à l'AFUP{% endblock %} + +{% block page_body %} + +
{{ question.texte }}
-