1379d6d495
replace edit by show add update
12 lines
672 B
Text
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 }
|