Sha256: a4b68e496cb463528268d49b7309f0f4a38ad6298c9dc5321aeb65c97de8074e

Contents?: true

Size: 842 Bytes

Versions: 5

Compression:

Stored size: 842 Bytes

Contents

<% title _("Autosign entries for %s") % @proxy %>

<% title_actions display_link_if_authorized(_("Keys"), hash_for_smart_proxy_salt_keys_path), display_link_if_authorized(_("New"), {:controller => 'foreman_salt/salt_autosign', :action => 'new', :smart_proxy_id => @proxy, :auth_object => @proxy, :permission => 'create_smart_proxies_salt_keys'}) %>

<table class='table table-bordered table-striped table-condensed'>
  <tr>
    <th><%= _("Name") %></th>
    <th></th>
  </tr>
  <% @autosign.each do |key| %>
      <tr>
        <td><%= key%> </td>
        <td>
          <%= action_buttons(display_delete_if_authorized(hash_for_smart_proxy_salt_autosign_path.merge(:smart_proxy_id => @proxy, :id => key), :class => 'delete')) %>
        </td>
      </tr>
  <% end %>
</table>

<%= page_entries_info @autosign %>
<%= will_paginate @autosign %>

Version data entries

5 entries across 5 versions & 1 rubygems

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