diff --git a/app/views/models/index.html.erb b/app/views/models/index.html.erb index 287e7a8fb259..c6aceebe57ea 100644 --- a/app/views/models/index.html.erb +++ b/app/views/models/index.html.erb @@ -2,32 +2,7 @@ <% title_actions new_link(_("Create Model")) %> -
<%= sort :name, :as => s_("Model|Name") %> | -<%= sort :vendor_class, :as => _("Vendor Class") %> | -<%= sort :hardware_model, :as => s_("Model|Hardware Model") %> | -<%= _("Hosts") %> | -<%= _('Actions') %> | -
---|---|---|---|---|
- <%= link_to_if_authorized model.name, - hash_for_edit_model_path(:id => model).merge(:auth_object => model, :authorizer => authorizer) %> | -<%= model.vendor_class %> | -<%= model.hardware_model %> | -<%= link_to hosts_count[model], hosts_path(:search => "model = \"#{model}\"") %> | -- <%= action_buttons(display_delete_if_authorized(hash_for_model_path(:id => model). - merge(:auth_object => model, :authorizer => authorizer), - :confirm => _("Delete %s?") % model.name)) %> - | -