2015-11-16 16:16:08 +01:00
|
|
|
|
2015-11-20 13:54:08 +01:00
|
|
|
= f.fields_for :types_de_piece_justificative, types_de_piece_justificative do |ff|
|
|
|
|
.form-inline
|
|
|
|
.form-group
|
|
|
|
%h4 Libellé
|
|
|
|
=ff.text_field :libelle, class: 'form-control libelle', placeholder: 'Libellé'
|
2015-11-16 16:16:08 +01:00
|
|
|
|
2015-11-20 13:54:08 +01:00
|
|
|
.form-group
|
|
|
|
%h4 Description
|
|
|
|
=ff.text_area :description, class: 'form-control description', placeholder: 'Description'
|
2015-11-16 16:16:08 +01:00
|
|
|
|
2015-11-20 13:54:08 +01:00
|
|
|
-if ff.object.id.nil?
|
|
|
|
.form-group#add_type_de_piece_justificative_button
|
2015-11-16 16:16:08 +01:00
|
|
|
%br
|
2015-11-20 13:54:08 +01:00
|
|
|
= f.submit('Ajouter la pièce')
|
2015-11-16 16:16:08 +01:00
|
|
|
|