Update _form.html.haml to mark required

This commit is contained in:
Daniel O'Connor authored and GitHub committed 2024-10-13 23:08:16 +10:30
1 parent d1871106fa
commit a2faf945a2
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@
= f.hidden_field :parent_planting_id, value: @planting.id
- else
= auto_suggest @seed, :crop, class: 'form-control', default: @crop
= auto_suggest @seed, :crop, class: 'form-control', default: @crop, required: true
%span.help-inline
Can't find what you're looking for?
= link_to "Request new crops.", new_crop_path