<%= t(".page_heading") %>

<%= render "navigation" %> <%= will_paginate @api_keys %> <%= form_tag url_for(controller: "admin/api", action: "index"), method: :get, class: "search", role: "search" do %>

<%= t(".search_by_name") %>

<%= label_tag "query", t(".search_box.label") %>
<%= text_field_tag "query", params[:query] %>

<%= submit_tag t(".actions.find") %>

<% end %> "> <% @api_keys.each do |api_key| %> <% end %>
<%= t(".table.caption") %>
<%= t(".table.headings.name") %> <%= t(".table.headings.token") %> <%= t(".table.headings.banned") %> <%= t(".table.headings.created") %> <%= t(".table.headings.updated") %> <%= t(".table.headings.actions") %>
<%= api_key.name %> <%= api_key.access_token %> <%= check_box_tag :banned, api_key.banned, api_key.banned, disabled: true %> <%= api_key.created_at %> <%= api_key.updated_at %>
  • <%= link_to t(".table.actions.edit"), edit_admin_api_path(api_key) %>
<%= will_paginate @api_keys %>