[fix #1824] link preview button to preview page

This commit is contained in:
simon lehericey 2018-04-13 17:35:49 +02:00
parent 48c5d5a917
commit e5b5913d29

View file

@ -16,7 +16,7 @@
= procedure.libelle
%td{ style: 'padding-right: 10px; padding-left: 10px; width: 60px;' }
- if !procedure.archivee?
= link_to('Consulter', commencer_path(procedure_path: procedure.path), target: "_blank")
= link_to('Consulter', apercu_procedure_path(id: procedure.id), target: "_blank")
%td
= link_to('Cloner', admin_procedure_clone_path(procedure.id, from_new_from_existing: true), 'data-method' => :put, class: 'btn-sm btn-primary clone-btn')
%td{ style: 'padding-left: 10px;' }