siret: make validation error message red

This commit is contained in:
Pierre de La Morinerie 2018-07-30 14:40:46 +02:00
parent 728a92a0b3
commit fcc7ffabcd

View file

@ -1,4 +1,4 @@
= message
.mandatory= message
- if etablissement.present?
- champ_attributes = etablissement.champ.private? ? 'champs_private_attributes' : 'champs_attributes'
= fields_for "dossier[#{champ_attributes}][#{position}][etablissement_attributes]", etablissement do |form|