Sha256: 025b97f3a8021bfe7ddaaac156e1c839a02a906f87f2cf572b2354fffdbfc740

Contents?: true

Size: 888 Bytes

Versions: 1

Compression:

Stored size: 888 Bytes

Contents

<% title _("Salt modules") %>

<% title_actions button_group(display_link_if_authorized(_("New Salt module"), hash_for_new_salt_module_path)) %>

<table class="table table-bordered table-striped">
  <tr>
    <th><%= sort :name, :as => s_("SaltModule|Name") %></th>
    <th></th>
  </tr>
  <% for salt_module in @salt_modules %>
    <tr>
      <td><%=link_to_if_authorized h(salt_module.name), hash_for_edit_salt_module_path(:id => salt_module).merge(:auth_object => salt_module, :authorizer => authorizer) %></td>
      <td>
        <%= action_buttons(display_delete_if_authorized hash_for_salt_module_path(:id => salt_module).merge(:auth_object => salt_module, :authorizer => authorizer),
                            :confirm => _("Delete %s?") % salt_module.name) %>
      </td>
    </tr>
  <% end %>
</table>

<%= page_entries_info @salt_modules %>
<%= will_paginate @salt_modules %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foreman_salt-0.0.2 app/views/foreman_salt/salt_modules/index.html.erb