show attestations sociales and fiscales only for instructeurs

This commit is contained in:
Christophe Robillard 2020-04-30 11:53:17 +02:00
parent c896f424ff
commit 59357f2100

View file

@ -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