% item_label = format_label(@pagy.count, "user") %> <% title = format_title(@searched, "Users", current_user, item_label, @pagy.count, nil) %> <% content_for :title, title %> <%= render partial: "organisations/headings", locals: current_user.support? ? { main: "Users", sub: nil } : { main: "Users", sub: current_user.organisation.name } %> <% if current_user.data_coordinator? || current_user.support? %> <%= govuk_button_link_to "Invite user", new_user_path, html: { method: :get } %> <% end %>