Update _form.html.haml to mark required

This commit is contained in:
Daniel O'Connor
2024-10-13 23:08:16 +10:30
committed by GitHub
parent d1871106fa
commit a2faf945a2

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