<% if @host.verified? %>
yes
<% else %>
no
<% end %>
Created
<%= I18n.l(@host.created_at, format: :long) %>
+
-
-
- <%= link_to edit_host_path(@host), class: "btn btn-default", role: "button" do %>
-
- Edit
- <% end %>
-
+
+ <%= link_to edit_host_path(@host), class: "btn btn-default", role: "button" do %>
+
+ Edit
+ <% end %>
- <% if @host.can_be_disabled? %>
-
- <%= link_to disable_host_path(@host), method: :post,
- data: { confirm: 'This will disable the client. Are you sure?' },
- class: "btn btn-default", role: "button" do %>
-
- Disable
- <% end %>
-
+ <% if @host.can_be_disabled? %>
+ <%= link_to disable_host_path(@host), method: :post,
+ data: { confirm: 'This will disable the client. Are you sure?' },
+ class: "btn btn-default", role: "button" do %>
+
+ Disable
<% end %>
+ <% end %>
-
- <%= link_to host_path(@host), method: :delete,
- data: { confirm: 'This will remove your client from the Backup service. Are you sure?' },
- class: "btn btn-default", role: "button" do %>
-
- Remove
- <% end %>
-
+ <%= link_to host_path(@host), method: :delete,
+ data: { confirm: 'This will remove your client from the Backup service. Are you sure?' },
+ class: "btn btn-default", role: "button" do %>
+
+ Remove
+ <% end %>
- <% if @host.needs_simple_config? %>
-
- <%= link_to new_host_simple_config_path(@host), role: 'button', class: 'btn btn-default' do %>
-
- Configure
- <% end %>
-
+ <% if @host.needs_simple_config? %>
+ <%= link_to new_host_simple_config_path(@host), role: 'button', class: 'btn btn-default' do %>
+
+ Configure
<% end %>
+ <% end %>
- <% if @host.needs_dispatch? %>
-