Sha256: 8a65119e18f3e26e06e81eee1c6b6239608bb487d758315bd082ed4f4bd632d7

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

<div>

  <div class="ui top attached menu borderless">
    <div class="item"><strong>Oauth Users</strong></div>
  </div>

  <% unless params[:user_id] %>
    <div class="ui segment bottom attached">
      <%= render 'search_form' %>
    </div>
  <% end %>

  <table class="ui bottom attached table">
    <thead>
    <tr>
      <th>ID</th>
      <th>Type</th>
      <th>UID</th>
      <th>Name</th>
      <th>Created At</th>
      <th></th>
    </tr>
    </thead>

    <tbody>
    <% @oauth_users.each do |oauth_user| %>
      <tr>
        <td><%= oauth_user.id %></td>
        <td><%= oauth_user.type %></td>
        <td><%= oauth_user.uid %></td>
        <td><%= oauth_user.name %></td>
        <td><%= oauth_user.created_at.to_s(:admin) %></td>
        <td>
          <%= link_to 'Delete', admin_oauth_user_path(oauth_user), method: :delete, data: { confirm: 'Are you sure?' }, class: 'ui red label' %>
        </td>
      </tr>
    <% end %>
    </tbody>
  </table>

  <%= paginate @oauth_users %>
</div>

<%= js_load(root: TheAuth::Engine.root) %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_auth-1.0.5 app/views/rails_auth_admin/oauth_users/index.html.erb
rails_auth-1.0.4 app/views/rails_auth_admin/oauth_users/index.html.erb