%= render "page_header" do %> <%= render "page_header_breadcrumb", title: "Admin users" do %>
<%= sort_link @search, :id %> | <%= sort_link @search, :email %> | <%= sort_link @search, :created_at %> | |
---|---|---|---|
<%= link_to admin_user.id, admin_user %> | <%= admin_user.email %> | <%= l(admin_user.created_at, format: :long) %> | <%= link_to "View", admin_user, class: "btn btn-light btn-sm" %> <%= link_to "Edit", edit_admin_user_path(admin_user), class: "btn btn-light btn-sm" %> <%= button_to "Delete", admin_user, method: :delete, data: { confirm: "Are you sure ?" }, form_class: "d-inline", class: "btn btn-light btn-sm" %> |