forked from fixin.me/fixin.me
Remove unnecessary link_id
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<td class="actions">
|
||||
<%= form.submit form: :unit_form %>
|
||||
<%= image_link_to t(:cancel), "close-outline", units_path, class: 'dangerous',
|
||||
name: :cancel, onclick: render_turbo_stream('form_close', {link_id: link_id}) %>
|
||||
name: :cancel, onclick: render_turbo_stream('form_close') %>
|
||||
</td>
|
||||
<td></td>
|
||||
<% end %>
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
<%= turbo_stream.close_form @unit %>
|
||||
<%= turbo_stream.update :flashes %>
|
||||
<%#= turbo_stream.focus link_id %>
|
||||
|
||||
Reference in New Issue
Block a user