forked from fixin.me/fixin.me
Manage client-side js with turbo_stream actions
This commit is contained in:
4
app/views/units/_form_close.html.erb
Normal file
4
app/views/units/_form_close.html.erb
Normal file
@@ -0,0 +1,4 @@
|
||||
<%= turbo_stream.remove @unit %>
|
||||
<%= turbo_stream.enable_all 'td.actions .button' %>
|
||||
<%= turbo_stream.enable :add_unit %>
|
||||
<%= turbo_stream.focus :add_unit %>
|
||||
Reference in New Issue
Block a user