From 543dc1572a70860e03a0652ed65d72cd15369343 Mon Sep 17 00:00:00 2001 From: Trevor Vallender Date: Mon, 4 Dec 2023 13:10:10 +0000 Subject: [PATCH] Allow inputting blank job on time entry Closes #2189 --- app/views/timelogs/_edit_form_bottom.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/timelogs/_edit_form_bottom.html.erb b/app/views/timelogs/_edit_form_bottom.html.erb index 6b6b059..99b5d12 100644 --- a/app/views/timelogs/_edit_form_bottom.html.erb +++ b/app/views/timelogs/_edit_form_bottom.html.erb @@ -1,3 +1,3 @@

<%= form.label :job_id %> -<%= form.collection_select :job_id, Job.active.project_or_parent(@project), :id, :name %> +<%= form.collection_select :job_id, Job.active.project_or_parent(@project), :id, :name, include_blank: true %>