From 8b59d85380582ecf18652a95036f3714da835b91 Mon Sep 17 00:00:00 2001 From: Guillem Arias Date: Mon, 11 May 2026 15:39:46 +0200 Subject: [PATCH] fix(savings_goals/new): notes textarea uses .form-field wrapper Passing label: false to f.text_area stripped the .form-field container, leaving a naked textarea with no border or visible label inside the DS::Disclosure. Pass a real label ("Notes (optional)") so styled_form_with wraps it like every other textarea in Sure (transactions/_form.html.erb, trades/show.html.erb, etc.). Bump rows to 3. --- app/views/savings_goals/_form_stepper.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/savings_goals/_form_stepper.html.erb b/app/views/savings_goals/_form_stepper.html.erb index 9227d63db..e272f4537 100644 --- a/app/views/savings_goals/_form_stepper.html.erb +++ b/app/views/savings_goals/_form_stepper.html.erb @@ -88,8 +88,8 @@ <%= render DS::Disclosure.new(title: t("savings_goals.form_stepper.step1.fields.notes_summary"), align: "right") do %> <%= f.text_area :notes, - label: false, - rows: 2, + label: t("savings_goals.form_stepper.step1.fields.notes"), + rows: 3, placeholder: t("savings_goals.form_stepper.step1.fields.notes_placeholder") %> <% end %>