Don't even need the url when that's directly being inferred from the model
This commit is contained in:
@@ -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| %>
|
||||
<h1 class="card__title flex align-start gap-half">
|
||||
<%= form.label :title, class: "flex flex-column align-center autoresize__wrapper", data: { autoresize_target: "wrapper", autoresize_clone_value: "" } do %>
|
||||
|
||||
Reference in New Issue
Block a user