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

13 lines
672 B
Text
Raw Normal View History

%ul.nav.nav-tabs
%li= link_to('Description', admin_procedure_path(@procedure))
%li= link_to('Champs', admin_procedure_types_de_champ_path(@procedure))
%li.active= link_to('Pièces justificatives', admin_procedure_pieces_justificatives_path(@procedure))
= form_for [:admin, @procedure], url: admin_procedure_pieces_justificatives_path(@procedure) , remote: true do |f|
#liste_piece_justificative
= render partial: 'form', locals:{ types_de_piece_justificative: @procedure.types_de_piece_justificative, f: f }
%hr
#new_type_de_piece_justificative
= render partial: 'form', locals:{ types_de_piece_justificative: TypeDePieceJustificative.new, f: f }