demarches-normaliennes/app/views/shared/champs/siret/_delete_etablissement.html.haml

7 lines
287 B
Text
Raw Normal View History

2018-04-03 17:53:14 +02:00
= 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|
= form.hidden_field :_destroy