Manage client-side js with turbo_stream actions

This commit is contained in:
2024-01-22 02:14:01 +01:00
parent 0e8bc18620
commit a7f80a575c
6 changed files with 30 additions and 17 deletions

View 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 %>