demarches-normaliennes/app/views/admin/pieces_justificatives/show.html.haml
Tanguy PATTE 1379d6d495 change PieceJustificativeController :
replace edit by show
add update
2015-11-20 13:54:56 +01:00

12 lines
672 B
Text

%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 }