No longer used
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<% if card.published? && !params[:focus_on_title]%>
|
||||
<% if card.published? %>
|
||||
<%= turbo_frame_tag card, :edit do %>
|
||||
<h1 class="card__title flex align-start gap-half">
|
||||
<%= link_to card.title, edit_card_path(card), class: "card__title-link" %>
|
||||
@@ -14,7 +14,7 @@
|
||||
<%= form.label :title, class: "flex flex-column align-center autoresize__wrapper", data: { autoresize_target: "wrapper", autoresize_clone_value: "" } do %>
|
||||
<%= form.text_area :title, placeholder: "Name it…",
|
||||
class: "card-field__title input input--textarea hide-focus-ring full-width borderless txt-align-start autoresize__textarea",
|
||||
autofocus: card.title.blank? || params[:focus_on_title], rows: 1,
|
||||
autofocus: card.title.blank?, rows: 1,
|
||||
data: { autoresize_target: "textarea", action: "input->autoresize#resize auto-save#change blur->auto-save#submit keydown.enter->auto-save#submit:prevent" } %>
|
||||
<% end %>
|
||||
</h1>
|
||||
|
||||
Reference in New Issue
Block a user