<% title(_("Discovered host: %s") % @host.to_label) %> <%= discovered_hosts_title_actions(@host) %> <%= render :partial => "discovered_host_modal", :locals => {:host => @host} %>
<% @categories[0].sort.each do |key, val| %> <% end -%>
<%= key %> <%= val %>
<% unless @interfaces.empty? %>
<% @interfaces.each do |interface| %> <% end %>
<%= interface[:identifier] %> <%= interface[:mac] %> <%= interface[:ip] %>
<% end %>
<%= link_to(_("Collapse All"),"#", :id => "expand_all", :class => "btn btn-default pull-right", style: 'margin-bottom: 1rem') -%>
<% @categories.each_with_index do |val, index| %> <% next if index == 0 || val.empty? %>
" class="panel-collapse collapse in facts-panel" role="tabpanel"> <% val.sort.each do |key, value| %> <% end %>
<%= key %> <%= value %>
<% end -%>
<% content_for(:javascripts) do -%> <% end %>