Sha256: 1562392de2141bbac1316d4f9c4cf8127d20ccdbbf180ed126f2dc8fd43abc0f

Contents?: true

Size: 1.26 KB

Versions: 11

Compression:

Stored size: 1.26 KB

Contents

<h1><%= t('controller.wobauth/authorities') %></h1>

<%= content_tag :table, id: :wobauth_authorities, role: :wobauth_datatable,
    class: "table table-bordered table-striped dataTable" do %>
<thead>
  <tr>
    <th><%= t('attributes.authorizable') %></th>
    <th><%= t('attributes.authorizable_type') %></th>
    <th><%= t('attributes.role') %></th>
    <th><%= t('attributes.authorized_for') %></th>
    <th><%= t('attributes.authorized_for_type') %></th>
    <th><%= t('attributes.valid_from') %></th>
    <th><%= t('attributes.valid_until') %></th>
    <th><%= t('wobauth.action') %></th>
  </tr>
</thead>
<tbody>

<% @authorities.each do |authority| %>
  <%= content_tag_for(:tr, authority) do %>
    <td><%= authority.authorizable %></td>
    <td><%= authority.authorizable_type %></td>
    <td><%= authority.role %></td>
    <td><%= authority.authorized_for %></td>
    <td><%= authority.authorized_for_type %></td>
    <td><%= authority.valid_from %></td>
    <td><%= authority.valid_until %></td>
    <td class="nowrap">
      <%= show_link [wobauth, authority] %>
      <%= edit_link [wobauth, authority] %>
      <%= delete_link [wobauth, authority] %>
    </td>
  <% end %>
<% end %>
</tbody>
<% end %>

<br />

<%= back_link %>
<%= new_link [wobauth, Wobauth::Authority] %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wobauth-5.1.1 app/views/wobauth/authorities/index.html.erb
wobauth-5.1.0 app/views/wobauth/authorities/index.html.erb
wobauth-5.0.2 app/views/wobauth/authorities/index.html.erb
wobauth-5.0.1 app/views/wobauth/authorities/index.html.erb
wobauth-5.0.0 app/views/wobauth/authorities/index.html.erb
wobauth-4.0.0 app/views/wobauth/authorities/index.html.erb
wobauth-3.4.8 app/views/wobauth/authorities/index.html.erb
wobauth-3.4.7 app/views/wobauth/authorities/index.html.erb
wobauth-3.4.6 app/views/wobauth/authorities/index.html.erb
wobauth-3.4.5 app/views/wobauth/authorities/index.html.erb
wobauth-3.4.4 app/views/wobauth/authorities/index.html.erb