admin instructeur index: fix breadcrumb

This commit is contained in:
simon lehericey 2023-04-24 15:26:09 +02:00 committed by LeSim
parent 6bfbf8ca0e
commit 588efc8b34

View file

@ -1,4 +1,4 @@
= render partial: 'administrateurs/breadcrumbs',
locals: { steps: [[t('.procedures'), admin_procedures_path],
[@procedure.libelle.truncate_words(10), admin_procedure_path(@procedure)],
[t('.instructors_group')]] }
[@procedure.groupe_instructeurs.many? ? 'Groupes' : 'Instructeurs']] }