diff --git a/app/views/hosts/show.html.erb b/app/views/hosts/show.html.erb index 6d6152f..bc67b41 100644 --- a/app/views/hosts/show.html.erb +++ b/app/views/hosts/show.html.erb @@ -1,23 +1,23 @@

<%= notice %>

<%= link_to 'Remove host', host_path(@host), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger", role: "button" %>

Configuration for <%= @host.name %>


-
+

Host Details

-
+

Jobs

<%= render partial: "host_details" %> <%= render partial: "jobs/job_templates" %>
diff --git a/app/views/jobs/_job_templates.html.erb b/app/views/jobs/_job_templates.html.erb index b23535c..350809c 100644 --- a/app/views/jobs/_job_templates.html.erb +++ b/app/views/jobs/_job_templates.html.erb @@ -1,22 +1,24 @@ -
+
- <%= render partial: 'jobs/job_template_details', collection: @host.job_templates, as: :job %> + <%= render partial: 'jobs/job_template_details', + collection: @host.job_templates, as: :job %>
Name Type FileSet Restore Location Schedule Priority Enabled
- <%= link_to 'Add Job', new_host_job_path(host_id: @host.id), class: "btn btn-success", role: "button" %> + <%= link_to 'Add Job', new_host_job_path(host_id: @host.id), + class: "btn btn-success", role: "button" %>