From 7f788c4f064b32f3b2ecb2dab400e50670f99616 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Mon, 16 Apr 2018 11:28:22 +0200 Subject: [PATCH] [fix #1826] Library: add contact link --- app/views/admin/procedures/new_from_existing.html.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/admin/procedures/new_from_existing.html.haml b/app/views/admin/procedures/new_from_existing.html.haml index c504d7354..d8b6e1dab 100644 --- a/app/views/admin/procedures/new_from_existing.html.haml +++ b/app/views/admin/procedures/new_from_existing.html.haml @@ -19,3 +19,5 @@ = link_to('Consulter', commencer_path(procedure_path: procedure.path), 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;' } + = link_to('Contacter', "mailto:#{procedure.administrateur.email}")