1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 07:25:19 +02:00
Maybe/app/views/chats/edit.html.erb
Alex Hatzenbuhler 5c82af0e8c
Fix and improve chat title edit (#2285)
* Fix and improve chat title edit

* Put back background color

* use transparent
2025-05-23 15:31:08 -04:00

9 lines
422 B
Text

<%= turbo_frame_tag dom_id(@chat, :title), class: "block" do %>
<%= styled_form_with model: @chat, data: { controller: "auto-submit-form", auto_submit_form_trigger_event_value: "blur" } do |f| %>
<%= f.text_field :title,
data: { auto_submit_form_target: "auto" },
autofocus: true,
inline: true,
class: "w-full rounded-md px-2 py-1 text-sm font-medium bg-transparent" %>
<% end %>
<% end %>