mirror of
https://github.com/we-promise/sure.git
synced 2026-05-30 07:49:01 +00:00
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:
@@ -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 %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user