2015-12-04 16:17:35 +01:00
|
|
|
%h2.text-info
|
|
|
|
=@procedure.libelle
|
|
|
|
%br
|
|
|
|
|
|
|
|
%ul.nav.nav-tabs
|
|
|
|
%li
|
|
|
|
= link_to('Informations', admin_procedure_path(@procedure))
|
|
|
|
%li.active
|
|
|
|
= link_to('Description', edit_admin_procedure_path(@procedure))
|
|
|
|
%li
|
|
|
|
= link_to('Champs', admin_procedure_types_de_champ_path(@procedure))
|
|
|
|
%li
|
|
|
|
= link_to('Pièces justificatives', admin_procedure_pieces_justificatives_path(@procedure))
|
|
|
|
|
|
|
|
#procedure_new.section.section-label
|
2015-12-10 17:13:39 +01:00
|
|
|
= form_for @procedure, url: url_for({controller: 'admin/procedures', action: :update, id: @procedure.id}), multipart: true do |f|
|
2015-12-04 16:17:35 +01:00
|
|
|
= render partial: 'informations', locals: {f: f}
|
|
|
|
= f.submit 'Editer', class: 'btn btn-success', style: 'float:right'
|
|
|
|
%br
|
|
|
|
%br
|