Fix missing step edit button [SCI-4880]

This commit is contained in:
Oleksii Kriuchykhin 2020-09-07 13:49:11 +02:00
parent dea75553a3
commit ea845040aa

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,