Merge pull request #5101 from betagouv/attestations-only-for-instructeurs
show attestations sociales and fiscales only for instructeurs
This commit is contained in:
commit
40d4a0f407
1 changed files with 9 additions and 8 deletions
|
@ -67,6 +67,7 @@
|
|||
- elsif etablissement.exercices.present?
|
||||
= t('activemodel.models.exercices_summary', count: etablissement.exercices.count)
|
||||
|
||||
- if profile == 'instructeur'
|
||||
- if etablissement.entreprise_attestation_sociale.attached?
|
||||
%tr
|
||||
%th.libelle Attestation sociale
|
||||
|
|
Loading…
Reference in a new issue