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.
This commit is contained in:
Guillem Arias
2026-05-11 15:39:46 +02:00
parent fa8f7e2418
commit 8b59d85380

View File

@@ -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 %>