diff --git a/app/views/users/dossiers/show/_header.html.haml b/app/views/users/dossiers/show/_header.html.haml index 428ca6eb9..fade2eeb0 100644 --- a/app/views/users/dossiers/show/_header.html.haml +++ b/app/views/users/dossiers/show/_header.html.haml @@ -15,11 +15,12 @@ = render(partial: 'users/dossiers/procedure_removed_banner', locals: { dossier: dossier }) - elsif current_user.owns?(dossier) .header-actions.fr-mb-3w - = render partial: 'invites/dropdown', locals: { dossier: dossier, morphing: false } = render(partial: 'users/dossiers/show/print_dossier', locals: { dossier: dossier }) - - if dossier.can_be_updated_by_user? && !current_page?(modifier_dossier_path(dossier)) - = link_to t('views.users.dossiers.demande.edit_dossier'), modifier_dossier_path(dossier), class: 'fr-btn fr-btn-sm', - title: t('views.users.dossiers.demande.edit_dossier_title') + .ml-auto + = render partial: 'invites/dropdown', locals: { dossier: dossier, morphing: false } + - if dossier.can_be_updated_by_user? && !current_page?(modifier_dossier_path(dossier)) + = link_to t('views.users.dossiers.demande.edit_dossier'), modifier_dossier_path(dossier), class: 'fr-btn fr-btn-sm fr-ml-1w', + title: t('views.users.dossiers.demande.edit_dossier_title') %nav.fr-tabs %ul.fr-tabs__list{ role: 'tablist' }