demarches-normaliennes/app/views/admin/pieces_justificatives/_form.html.haml

9 lines
482 B
Text
Raw Normal View History

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