feat: remove commentaire_component and replace it by message_component + replace commentaires/_form by messages/_form + few fixes

This commit is contained in:
seb-by-ouidou 2023-12-10 17:25:58 +00:00
parent f5f94d9e52
commit 9ddd55d5cd
32 changed files with 331 additions and 340 deletions

View file

@ -25,7 +25,7 @@ class GroupeGestionnaire::GroupeGestionnaireGestionnaires::GestionnaireComponent
def remove_button
if is_there_at_least_another_active_admin? && @is_gestionnaire
button_to 'Retirer',
button_to 'Retirer du groupe',
gestionnaire_groupe_gestionnaire_gestionnaire_path(@groupe_gestionnaire, @gestionnaire),
method: :delete,
class: 'fr-btn fr-btn--sm fr-btn--tertiary',