% content_for :before_content do %> <%= govuk_back_link( text: "Back", href: "/schemes/#{@scheme.id}/locations", ) %> <% end %> <%= form_for(@location, method: :patch, url: scheme_location_path(scheme_id: @scheme.id, id: @location.id, add_another_location: params[:add_another_location])) do |f| %>