diff --git a/app/views/jobs/show.html.erb b/app/views/jobs/show.html.erb index 6560d76..0719508 100644 --- a/app/views/jobs/show.html.erb +++ b/app/views/jobs/show.html.erb @@ -1,25 +1,31 @@ -
- <%= 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.name %>" Job Template

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