2015-11-16 16:16:08 +01:00
|
|
|
%ul.nav.nav-tabs
|
|
|
|
%li.active
|
|
|
|
= link_to('Description', admin_procedure_path(@procedure))
|
|
|
|
%li
|
2015-11-17 10:23:05 +01:00
|
|
|
= link_to('Champs', admin_procedure_types_de_champ_path(@procedure))
|
2015-11-16 16:16:08 +01:00
|
|
|
%li
|
2015-11-20 13:54:08 +01:00
|
|
|
= link_to('Pièces justificatives', admin_procedure_pieces_justificatives_path(@procedure))
|
2015-11-26 18:41:41 +01:00
|
|
|
%li{style:'float:right'}
|
|
|
|
= form_tag "/admin/procedures/#{@procedure.id}/archive", action: :archive, method: :put, procedure_id: @procedure.id do
|
|
|
|
%button#archive.btn.btn-nav.text-info{type: :button}
|
|
|
|
%i.fa.fa-eraser
|
|
|
|
Archiver
|
|
|
|
#confirm
|
|
|
|
%button#valid.btn.btn-nav.text-success{type: :submit}
|
|
|
|
%i.fa.fa-check
|
|
|
|
Valider
|
|
|
|
%button#cancel.btn.btn-nav.text-danger{type: :button}
|
|
|
|
%i.fa.fa-remove
|
|
|
|
Annuler
|
2015-11-16 16:16:08 +01:00
|
|
|
|
2015-10-26 15:54:20 +01:00
|
|
|
%h2.text-info
|
|
|
|
=@procedure.libelle
|
|
|
|
|
|
|
|
#procedure_new.section.section-label
|
|
|
|
= form_for @procedure, url: {controller: 'admin/procedures', action: :update} do |f|
|
|
|
|
=render partial: 'informations', locals: {f: f}
|
|
|
|
=f.submit 'Editer', class: 'btn btn-success', style: 'float:right'
|
2015-10-27 17:31:08 +01:00
|
|
|
%br
|
|
|
|
%br
|