<% title = format_title(nil, current_user.support? ? "About this organisation" : "Your managing agents", current_user, nil, nil, @organisation.name) %> <% content_for :title, title %> <%= render partial: "organisations/headings", locals: { main: "Your managing agents", sub: nil } %> <% @managing_agents.each do |managing_agent|%> <%= managing_agent.name %> <% end %>