<% content_for :before_content do %> <% title = "Schemes" %> <% content_for :title, title %> <%= govuk_back_link href: merge_request_path(@merge_request) %> <% end %>

<%= @merge_request.absorbing_organisation_name %> Schemes

<% unless @merge_request.status == "request_merged" || @merge_request.status == "processing" %>

<%= total_schemes_after_merge_text(@merge_request) %>

<%= merging_organisations_without_schemes_text(@merge_request.organisations_without_schemes) %>

<% @merge_request.organisations_with_schemes.map do |org| %>

<%= link_to_merging_organisation_schemes(org) %>

<% end %> <% end %>