From d61222d4ccbf0e27179dad16851dcbd88cc30b97 Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Sun, 13 Oct 2024 23:01:10 +1030 Subject: [PATCH] Update _form.html.haml --- app/views/plantings/_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/plantings/_form.html.haml b/app/views/plantings/_form.html.haml index c8d1bfe5e..fbc94c54d 100644 --- a/app/views/plantings/_form.html.haml +++ b/app/views/plantings/_form.html.haml @@ -44,7 +44,7 @@ .col-md-4 = f.select(:sunniness, Planting::SUNNINESS_VALUES, { include_blank: '', label: 'Sun or shade?' } ) .col-md-4 - = f.number_field :quantity, label: 'How many?' + = f.number_field :quantity, label: 'How many?', min: 1 = f.text_area :description, rows: 6, label: 'Tell us more about it' .row