Sha256: 98bb58f0dc92b003593aa9a1de3639a7d57a81e05dccfaa3437710b5c5a6c94f

Contents?: true

Size: 875 Bytes

Versions: 5

Compression:

Stored size: 875 Bytes

Contents

<% title _("Listing compute resources") %>
<% title_actions display_link_if_authorized(_("New Compute Resource"), hash_for_new_compute_resource_path), help_path %>

<table class="table table-bordered table-striped">
  <tr>
    <th><%= sort :name, :as => s_("ComputeResource|Name") %></th>
    <th><%= sort :type, :as => _("Type") %></th>
    <th></th>
  </tr>

<% @compute_resources.each do |compute| %>
  <tr>
    <td><%= link_to compute.name, compute %></td>
    <td><%= compute.provider_friendly_name %></td>
    <td>
      <%= action_buttons(link_to(_('Edit'), edit_compute_resource_path(compute)),
                         display_delete_if_authorized(hash_for_compute_resource_path(:id => compute), :confirm => _("Delete %s?") % compute.name)) %>
    </td>
  </tr>
<% end %>
</table>

<%= page_entries_info @compute_resources %>
<%= will_paginate @compute_resources %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/compute_resources/index.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/compute_resources/index.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/compute_resources/index.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/compute_resources/index.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/compute_resources/index.html.erb