Groupe instructeur show
This commit is contained in:
parent
2749c00ce3
commit
733e83cc54
6 changed files with 54 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 d’instructeurs', 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
|
Loading…
Add table
Add a link
Reference in a new issue