From 6bdbf565cc347e38668b59c7d76ccde6290964c0 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 6 Jan 2023 17:50:35 +0100 Subject: [PATCH] =?UTF-8?q?amelioration(app/views/users/dossiers/=5Fidenti?= =?UTF-8?q?ty=5Fdropdown.html.haml):=20passe=20le=20menu=20de=20gestion=20?= =?UTF-8?q?d'identit=C3=A9=20d'un=20dossier=20usager=20au=20nouveau=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/dossiers/_identity_dropdown.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/users/dossiers/_identity_dropdown.html.haml b/app/views/users/dossiers/_identity_dropdown.html.haml index 3da4cd863..88781adfb 100644 --- a/app/views/users/dossiers/_identity_dropdown.html.haml +++ b/app/views/users/dossiers/_identity_dropdown.html.haml @@ -1,8 +1,8 @@ -.dropdown.edit-identity-action{ data: { controller: 'menu-button', popover: 'true' } } - %button.button.dropdown-button{ data: { menu_button_target: 'button' } } += render Dropdown::MenuComponent.new(wrapper: :div, wrapper_options: {class: ['edit-identity-action']}, menu_options: { class:['edit-identity-content'] }) do |menu| + - menu.with_button_inner_html do = t("views.shared.dossiers.demande.my_identity") - #edit-identity-content.dropdown-content.fade-in-down{ data: { menu_button_target: 'menu' } } + - menu.with_form do - if dossier.procedure.for_individual = render partial: "shared/dossiers/identite_individual", locals: { individual: dossier.individual }