Revert "Patch for cards missing description"

This reverts commit 257c0902f4.
This commit is contained in:
Jorge Manrubia
2025-05-31 12:30:04 +02:00
parent abcbb3277e
commit 5d662f1ec9
2 changed files with 1 additions and 6 deletions
@@ -26,10 +26,6 @@ export default class extends Controller {
}
}
reset() {
this.#timer = null
}
// Private
#scheduleSave() {
+1 -2
View File
@@ -10,8 +10,7 @@
</div>
<% end %>
<% else %>
<%= form_with model: card, url: collection_card_path(card.collection, card), id: "card_form", class: "card__content", data: {
controller: "autoresize auto-save", action: "turbo:morph@window->auto-save#reset" } do |form| %>
<%= form_with model: card, url: collection_card_path(card.collection, card), id: "card_form", class: "card__content", data: { controller: "autoresize auto-save" } do |form| %>
<h1 class="card__title autoresize__wrapper" data-autoresize-target="wrapper" data-autoresize-clone-value="">
<%= form.text_area :title, placeholder: "Name it…",
class: "input input--textarea full-width borderless txt-align-start autoresize__textarea",