1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-08 06:55:21 +02:00

use transparent

This commit is contained in:
hatz 2025-05-23 14:05:57 -05:00
parent 3983194025
commit 2b91849041
No known key found for this signature in database

View file

@ -1,10 +1,9 @@
<%= turbo_frame_tag dom_id(@chat, :title), class: "block" do %>
<% bg_class = params[:ctx] == "chat" ? "bg-container-inset" : "bg-container" %>
<%= 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_class}" %>
class: "w-full rounded-md px-2 py-1 text-sm font-medium bg-transparent" %>
<% end %>
<% end %>