From 3b109aa9a7580b374d5ab09bca62b793b9ef49e2 Mon Sep 17 00:00:00 2001 From: Trevor Vallender Date: Tue, 9 Jan 2024 08:27:14 +0000 Subject: [PATCH] Add errors to jobs show page This means we can see the errors when deletion fails. Refs #2654 --- app/views/jobs/show.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/jobs/show.html.erb b/app/views/jobs/show.html.erb index 4ed8fda..ba31665 100644 --- a/app/views/jobs/show.html.erb +++ b/app/views/jobs/show.html.erb @@ -3,6 +3,7 @@ <% end %> <% html_title @job.name %> +<%= error_messages_for @job %>
<%= link_to 'Edit', edit_project_job_path(@project, @job), class: "icon icon-edit edit-job" %> <%= actions_dropdown do %>