place button to the left

This commit is contained in:
Lisa Durand 2024-06-26 18:20:48 +02:00
parent 772ae47521
commit 1b2d4368ae
No known key found for this signature in database
GPG key ID: 0DF91F2CA1E8B816

View file

@ -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' }