diff --git a/app/views/cards/edit.html.erb b/app/views/cards/edit.html.erb index 9a0f5ff3e..8ded6e411 100644 --- a/app/views/cards/edit.html.erb +++ b/app/views/cards/edit.html.erb @@ -1,5 +1,5 @@ <%= turbo_frame_tag @card, :edit do %> - <%= form_with model: @card, url: @card, + <%= form_with model: @card, data: { controller: "autoresize form local-save", local_save_key_value: "card-#{@card.id}", action: "turbo:submit-end->local-save#submit" } do |form| %>