<%# This is where the component loaded from the server side will insert itself %>
<%# Used to announce to the screen reader client side which section the user is in %>

Tools

<%= link_to admin_user_tools_emails_path(@user), remote: true, data: { action: "ajax:success->user#replacePartial" }, class: "crayons-card box js-action" do %>

Emails

<%= pluralize(@emails.total, "past email") %> <% if @emails.verified %> - Verified<% end -%> <% end %> <%= link_to admin_user_tools_notes_path(@user), remote: true, data: { action: "ajax:success->user#replacePartial" }, class: "crayons-card box js-action" do %>

Notes

<%= pluralize(@notes.total, "note") %> <% end %> <%= link_to admin_user_tools_credits_path(@user), remote: true, data: { action: "ajax:success->user#replacePartial" }, class: "crayons-card box js-action" do %>

Credits

<%= pluralize(@credits.total, "credit") %> <% end %> <%= link_to admin_user_tools_organizations_path(@user), remote: true, data: { action: "ajax:success->user#replacePartial" }, class: "crayons-card box js-action" do %>

Organizations

<%= pluralize(@organizations.total, "organization") %> <% end %> <%= link_to admin_user_tools_reports_path(@user), remote: true, data: { action: "ajax:success->user#replacePartial" }, class: "crayons-card box js-action" do %>

Reports

<%= pluralize(@reports.total, "report") %> <% end %> <%= link_to admin_user_tools_reactions_path(@user), remote: true, data: { action: "ajax:success->user#replacePartial" }, class: "crayons-card box js-action" do %>

Reactions

<%= pluralize(@reactions.total, "reaction") %> <% end %>