Add errors to jobs show page

This means we can see the errors when deletion fails.

Refs #2654
This commit is contained in:
Trevor Vallender 2024-01-09 08:27:14 +00:00
parent 213cc31275
commit 3b109aa9a7
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
<% end %> <% end %>
<% html_title @job.name %> <% html_title @job.name %>
<%= error_messages_for @job %>
<div class="contextual"> <div class="contextual">
<%= link_to 'Edit', edit_project_job_path(@project, @job), class: "icon icon-edit edit-job" %> <%= link_to 'Edit', edit_project_job_path(@project, @job), class: "icon icon-edit edit-job" %>
<%= actions_dropdown do %> <%= actions_dropdown do %>