<% jobs.each do |job| %> <% end %>
GoodJob ID ActiveJob ID Job Class Queue Scheduled At Error ActiveJob Params Actions
<%= link_to job.id, active_job_path(job.serialized_params['job_id'], anchor: dom_id(job)) %> <%= link_to job.serialized_params['job_id'], active_job_path(job.serialized_params['job_id']) %> <%= job.serialized_params['job_class'] %> <%= job.queue_name %> <%= job.scheduled_at || job.created_at %> <%= job.error %> <%= tag.button "Preview", type: "button", class: "btn btn-sm btn-outline-primary", role: "button", data: {bs_toggle: "collapse", bs_target: "##{dom_id(job, 'params')}"}, aria: {expanded: false, controls: dom_id(job, "params")} %> <%= tag.pre JSON.pretty_generate(job.serialized_params), id: dom_id(job, "params"), class: "collapse" %> <%= button_to job_path(job.id), method: :delete, class: "btn btn-sm btn-outline-danger", title: "Delete job" do %> <%= render "shared/icons/trash" %> <% end %>