Add procedure libelle on all edit page, above tabs
This commit is contained in:
parent
a6244cebb1
commit
6dd9c0c7ce
3 changed files with 13 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
%h2.text-info
|
||||
=@procedure.libelle
|
||||
%br
|
||||
|
||||
%ul.nav.nav-tabs
|
||||
%li= link_to('Description', admin_procedure_path(@procedure))
|
||||
%li= link_to('Champs', admin_procedure_types_de_champ_path(@procedure))
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
%h2.text-info
|
||||
=@procedure.libelle
|
||||
%br
|
||||
|
||||
%ul.nav.nav-tabs
|
||||
%li.active
|
||||
= link_to('Description', admin_procedure_path(@procedure))
|
||||
|
@ -10,7 +14,7 @@
|
|||
%button#archive.btn.btn-nav.text-info{type: :button}
|
||||
%i.fa.fa-eraser
|
||||
- if @procedure.archived
|
||||
= 'Activer'
|
||||
= 'Réactiver'
|
||||
- else
|
||||
= 'Archiver'
|
||||
#confirm
|
||||
|
@ -21,9 +25,6 @@
|
|||
%i.fa.fa-remove
|
||||
Annuler
|
||||
|
||||
%h2.text-info
|
||||
=@procedure.libelle
|
||||
|
||||
#procedure_new.section.section-label
|
||||
= form_for @procedure, url: url_for({controller: 'admin/procedures', action: :update, id: @procedure.id}) do |f|
|
||||
= render partial: 'informations', locals: {f: f}
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
%h2.text-info
|
||||
=@procedure.libelle
|
||||
%br
|
||||
|
||||
%ul.nav.nav-tabs
|
||||
%li
|
||||
= link_to('Description', admin_procedure_path(@procedure))
|
||||
|
|
Loading…
Reference in a new issue