<% title = @scheme.service_name %> <% content_for :title, title %> <%= govuk_back_link(href: "#{request.referrer}")%> <%= render partial: "organisations/headings", locals: { main: @scheme.service_name, sub: nil } %> <%= render SubNavigationComponent.new( items: scheme_items(request.path, @scheme.id, @scheme.locations.count), ) %>
<% @scheme.locations.each do |location| %>

<%= "#{location.address_line1}, #{location.address_line2}" %>

Location code
<%= location.location_code %>
Postcode
<%= location.postcode %>
Type of unit
<%= location.type_of_unit %>
Type of building
<%= location.type_of_building %>
Wheelchair adaptation
<%= location.wheelchair_adaptation %>
<% end %>