%= notifier(@host.display_message) unless @host.deployed? %>
<% if @host.can_be_disabled? %>
<%= link_to 'Disable client', disable_host_path(@host), method: :post,
data: { confirm: 'This will disable the client. Are you sure?' },
class: "btn btn-warning", role: "button" %>
<% end %>
<%= link_to 'Remove client', host_path(@host), method: :delete,
data: { confirm: 'This will remove the client from Bacula. Are you sure?' },
class: "btn btn-danger", role: "button" %>
Configuration for <%= @host.name %>
<%= host_status_label(@host) %>
<%= render partial: "host_details" %>
<%= render partial: "jobs/job_templates" %>
Client FileDeamon Config
<%= @host.bacula_fd_filedeamon_config %>
Client Director Config
<%= @host.bacula_fd_director_config %>
<%= render partial: 'jobs/modals' %>