diff --git a/app/views/jobs/show.html.erb b/app/views/jobs/show.html.erb index 806249c..6560d76 100644 --- a/app/views/jobs/show.html.erb +++ b/app/views/jobs/show.html.erb @@ -1,32 +1,25 @@ -

"<%= @job.name %>" Job Template

+
+ <%= link_to 'Edit', edit_host_job_path(@host, @job), + class: "btn btn-primary", role: "button" %> + <%= link_to 'Delete', host_job_path(@host, @job), + method: :delete, data: { confirm: 'This will delete the job' }, + class: "btn btn-danger", role: "button" %> +
-

Job Attributes

+

"<%= @job.name %>" Job Template

<%= render partial: 'job_details' %>
- -
-
- <%= link_to 'Delete', host_job_path(@host, @job), - method: :delete, data: { confirm: 'This will delete the job' }, - class: "btn btn-danger", role: "button" %> -
-
- <%= link_to 'Edit', edit_host_job_path(@host, @job), - class: "btn btn-primary", role: "button" %> -
-
- <%= link_to 'Back to host', host_path(@host), - class: "btn btn-success", role: "button" %> -
-
-
+
+
+ <%= link_to 'Back to host', host_path(@host), + class: "btn btn-success", role: "button" %>