From a2faf945a2aa0ce14be3003f7b977b6adb00a571 Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Sun, 13 Oct 2024 23:08:16 +1030 Subject: [PATCH] Update _form.html.haml to mark required --- app/views/seeds/_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/seeds/_form.html.haml b/app/views/seeds/_form.html.haml index b10c2fd86..a012d4a56 100644 --- a/app/views/seeds/_form.html.haml +++ b/app/views/seeds/_form.html.haml @@ -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