<% title _("Discovery Rules") %> <% title_actions new_link(_("New Rule")), help_button %> <% for rule in @discovery_rules %> <% end %>
<%= sort :name, :as => s_("DiscoveryRule|Name") %> <%= sort :priority, :as => s_("DiscoveryRule|Priority") %> <%= sort :search, :as => s_("DiscoveryRule|Query") %> <%= _("Host group") %> <%= _("Hosts/limit") %> <%= sort :enabled, :as => s_("DiscoveryRule|Enabled") %>
<%= link_to_if_authorized(trunc_with_tooltip(rule.name), hash_for_edit_discovery_rule_path(:id => rule).merge(:auth_object => rule, :authorizer => authorizer)) %> <%= rule.priority %> <%= trunc_with_tooltip(rule.search) %> <%= label_with_link(rule.hostgroup, 26, authorizer) %> <%= rule.hosts.count %> / <%= rule.max_count %> <%= rule.enabled %> <%= action_buttons(*permitted_discovery_actions(rule)) %>
<%= will_paginate_with_info @discovery_rules %>