Groupe instructeur show

This commit is contained in:
simon lehericey 2019-10-23 20:22:56 +02:00
parent 2749c00ce3
commit 733e83cc54
6 changed files with 54 additions and 1 deletions

View file

@ -15,5 +15,6 @@
- @groupes_instructeurs.each do |group|
%tr
%td= group.label
%td.actions= link_to "voir", procedure_groupe_instructeur_path(@procedure, group)
= paginate @groupes_instructeurs

View file

@ -0,0 +1,24 @@
= render partial: 'new_administrateur/breadcrumbs',
locals: { steps: [link_to('Démarches', admin_procedures_path),
link_to(@procedure.libelle, admin_procedure_path(@procedure)),
link_to('Groupes dinstructeurs', procedure_groupe_instructeurs_path(@procedure)),
@groupe_instructeur.label] }
.container.groupe-instructeur
.rename_form_block
.flex.baseline-start
%h1 Groupe « #{@groupe_instructeur.label} »
.card
.card-title Gestion des instructeurs
%table.table.mt-2
%thead
%tr
%th{ colspan: 2 } Instructeurs affectés
%tbody
- @instructeurs.each do |instructeur|
%tr
%td= instructeur.email
= paginate @instructeurs