2017-04-06 17:12:39 +02:00
|
|
|
= form_for [:admin, @procedure], url: admin_procedure_pieces_justificatives_path(@procedure), remote: true do |f|
|
2015-11-20 14:17:38 +01:00
|
|
|
#liste_piece_justificative
|
2017-04-13 14:48:18 +02:00
|
|
|
= render partial: 'fields', locals: { types_de_piece_justificative: @procedure.types_de_piece_justificative.decorate, f: f }
|
2015-11-20 17:12:36 +01:00
|
|
|
= f.submit "Enregistrer", class: 'btn btn-success', id: :save
|
2015-11-20 14:17:38 +01:00
|
|
|
%hr
|
|
|
|
#new_type_de_piece_justificative
|
2017-04-06 17:18:03 +02:00
|
|
|
= render partial: 'fields', locals: { types_de_piece_justificative: TypeDePieceJustificative.new.decorate, f: f }
|