From a1d64d6c2ecb5fba0d4a105e5008cc3ac604ae56 Mon Sep 17 00:00:00 2001 From: Zach Gollwitzer Date: Fri, 2 May 2025 08:23:37 -0400 Subject: [PATCH] Fix subdued text in transaction form --- app/views/transactions/_form.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/transactions/_form.html.erb b/app/views/transactions/_form.html.erb index 733af700..4132d3fd 100644 --- a/app/views/transactions/_form.html.erb +++ b/app/views/transactions/_form.html.erb @@ -1,6 +1,6 @@ <%# locals: (entry:, income_categories:, expense_categories:) %> -<%= styled_form_with model: entry, url: transactions_path, class: "space-y-4 text-subdued", data: { controller: "transaction-form" } do |f| %> +<%= styled_form_with model: entry, url: transactions_path, class: "space-y-4", data: { controller: "transaction-form" } do |f| %> <% if entry.errors.any? %> <%= render "shared/form_errors", model: entry %> <% end %> @@ -12,7 +12,7 @@ <%= f.hidden_field :entryable_type, value: "Transaction" %> -
+
<%= f.text_field :name, label: t(".description"), placeholder: t(".description_placeholder"), required: true %> <% if @entry.account_id %>