% all_hosts = Host::Discovered.includes(:model).includes(:discovery_attribute_set).all %> <% hosts = all_hosts.limit(6) %>
<%= _("No discovered hosts available") %>
<% else %> <%= render :partial => 'discovery_widget_host_list', :locals => { :hosts => hosts } %> <% end %>