% item_label = format_label(@pagy.count, "scheme") %> <% title = format_title(@searched, "Supported housing services", current_user, item_label, @pagy.count, nil) %> <% content_for :title, title %> <%= render partial: "organisations/headings", locals: current_user.support? ? { main: "Supported housing services", sub: nil } : { main: "Supported housing services", sub: current_user.organisation.name } %>