Merge pull request #2827 from okriuchykhin/ok_SCI_4880_v2

Fix missing step edit button [SCI-4880]
This commit is contained in:
Alex Kriuchykhin 2020-09-07 13:52:12 +02:00 committed by GitHub
commit 7fe26fb90f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,6 +66,13 @@
data: { action: 'move-step', direction: :down }) do %>
<span class="fas fa-arrow-down"></span>
<% end %>
<%= link_to(edit_step_path(step),
title: t('protocols.steps.options.edit_title'),
class: 'btn btn-light icon-btn',
remote: true,
data: { action: 'edit-step' }) do %>
<span class="fas fa-pencil-alt"></span>
<% end %>
<%= link_to(step_path(step),
title: t('protocols.steps.options.delete_title'),
method: :delete,