Sha256: 3b0bdfb7cc29aa2dc5250ccddb0a12694d4e76c77f57950941026014fb30ff39

Contents?: true

Size: 807 Bytes

Versions: 1

Compression:

Stored size: 807 Bytes

Contents

<h2><%= @PAGE_TITLE = "API Users" %></h2>
<p><%= link_to "Add an API User", new_a_api_user_path, class: "btn btn-success" %></p>

<%= paginate @api_users %>

<table class="table table-striped">
  <thead>
    <tr>
      <th>Edit</th>
      <th>Name</th>
      <th>E-mail</th>
      <th>Auth Token</th>
      <th>Active?</th>
      <th>Last Auth</th>
    </tr>
  </thead>
  <tbody>
    <% @api_users.each do |api_user| %>
      <tr>
        <td><%= link_to "Edit", edit_a_api_user_path(api_user), class: "btn" %></td>
        <td><%= api_user.name %></td>
        <td><%= api_user.email %></td>
        <td><%= api_user.auth_token %></td>
        <td><%= api_user.is_active? %></td>
        <td><%= api_user.last_authenticated %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<%= paginate @api_users %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asset_host_core-2.0.0.beta app/views/asset_host_core/admin/api_users/index.html.erb