<%= bootstrap_form_with url: admin_accounts_path, method: :get, remote: true, layout: :inline, id: "search" do |form| %> <%= form.search_field :query, hide_label: true, placeholder: t(".actions.search"), class: "rounded-pill-right", value: params[:query], prepend: form.button(fa_icon("search"), id: "search-button", class: "btn btn-light border rounded-pill-left") %> <% end%> <% if policy(Account).new? %> <%= link_to fa_icon("plus", text: "New Account"), [:new, :admin, :account], class: "btn btn-primary mb-3" %> <% end %>
<% if @accounts.any? %> <%= render @accounts %> <% else %> <% end %>
Name Plan # Projects Monthly Video Upload Minutes Total Video Upload Minutes Total Storage Created At
<%= t(".empty") %>
<%= will_paginate @accounts %>