2016-05-19 10:57:18 +02:00
|
|
|
%li{ class: ('active' if active == 'Informations') }
|
|
|
|
= link_to('Informations', admin_procedure_path(@procedure))
|
|
|
|
|
2016-05-20 15:36:38 +02:00
|
|
|
%li{ class: ('active' if active == 'Accompagnateurs') }
|
2016-11-03 16:46:26 +01:00
|
|
|
= link_to(t('dynamics.admin.procedure.onglets.accompagnateurs'), admin_procedure_accompagnateurs_path(@procedure))
|
2016-05-20 15:36:38 +02:00
|
|
|
|
2016-05-19 10:57:18 +02:00
|
|
|
%li{ class: ('disabled' if @procedure.locked?) || ('active' if active == 'Description') }
|
|
|
|
= link_to_unless(@procedure.locked?, 'Description', edit_admin_procedure_path(@procedure)) do
|
|
|
|
= link_to('Description', '#')
|
|
|
|
|
|
|
|
%li{ class: ('disabled' if @procedure.locked?) || ('active' if active == 'Champs') }
|
|
|
|
= link_to_unless(@procedure.locked?, 'Champs', admin_procedure_types_de_champ_path(@procedure)) do
|
|
|
|
= link_to('Champs', '#')
|
|
|
|
|
|
|
|
%li{ class: ('disabled' if @procedure.locked?) || ('active' if active == 'Pieces') }
|
|
|
|
= link_to_unless(@procedure.locked?, 'Pièces justificatives', admin_procedure_pieces_justificatives_path(@procedure)) do
|
2016-06-06 17:40:32 +02:00
|
|
|
= link_to('Pièces justificatives', '#')
|
|
|
|
|
2016-08-03 18:19:56 +02:00
|
|
|
%li{ class: ('disabled' if @procedure.locked?) || ('active' if active == 'Champs privés') }
|
|
|
|
= link_to_unless(@procedure.locked?, 'Champs privés', admin_procedure_types_de_champ_private_path(@procedure)) do
|
|
|
|
= link_to('Champs privés', '#')
|
|
|
|
|
2016-08-31 16:07:11 +02:00
|
|
|
%li{ class: ('active' if active == 'E-mails') }
|
|
|
|
= link_to('E-mails', admin_procedure_mails_path(@procedure))
|
|
|
|
|
2016-06-06 17:40:32 +02:00
|
|
|
%li{ class: ('active' if active == 'Prévisualisation'), style: 'float:right' }
|
|
|
|
= link_to('Prévisualisation', admin_procedure_previsualisation_path(@procedure), {style: 'font-style: italic;'})
|