<% if policy(User).new? %> <%= link_to fa_icon("plus", text: t(".actions.new")), [:new, :admin, :user], class: "btn btn-primary mb-3" %> <% end %> <%= bootstrap_form_with url: admin_users_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"), class: "btn btn-light border rounded-pill-left") %> <% end %>
<% if @users.any? %> <%= render @users %> <% else %> <% end %>
Email First Name Last Name Role Account Name Created At
<%= t(".empty") %>