Sha256: af1aef5e639365843456c32ac0213cf096e7cb1c9a458547a3188157180e170e

Contents?: true

Size: 886 Bytes

Versions: 4

Compression:

Stored size: 886 Bytes

Contents

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

<% title_actions button_group(display_link_if_authorized(_("New Salt State"), 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

4 entries across 4 versions & 1 rubygems

Version Path
foreman_salt-1.1.0 app/views/foreman_salt/salt_modules/index.html.erb
foreman_salt-1.0.0 app/views/foreman_salt/salt_modules/index.html.erb
foreman_salt-0.0.4 app/views/foreman_salt/salt_modules/index.html.erb
foreman_salt-0.0.3 app/views/foreman_salt/salt_modules/index.html.erb