Merge pull request #3891 from Growstuff/CloCkWeRX-patch-4

Update _form.html.haml to require a min of 1 when planting
This commit is contained in:
Daniel O'Connor authored and GitHub committed 2024-10-13 23:21:11 +10:30
commit 2b72e8f2da
1 file changed
+1 -1
+1 -1
View File
@@ -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