h1.heading-xlarge Find schools

.grid-row
  .column-full
    == render partial: 'shared/search_input'

- if @items
  .grid-row
    .column-full
      p= pluralize(@items.count, 'result')
      ul
        - @items.select{|x| x.register == 'place' }.each do |place|
          li= link_to place.display_name, point_url(id: place.coordinates.join(','))
        - @items.select{|x| x.register == 'school' && x.end_date.blank? }.each do |school|
          li= link_to school.display_name, school_url(id: school.record)

.grid-row
  .column-full
    h2.heading-small
      | This search service was made using 
      = link_to 'an index of data sourced from registers.', indices_url()

h1.heading-xlarge Find schools

.grid-row
  .column-full
    == render partial: 'shared/search_input'

- if @items
  .grid-row
    .column-full
      p= pluralize(@items.count, 'result')
      ul
        - @items.select{|x| x.register == 'place' }.each do |place|
          li= link_to place.display_name, point_url(id: place.coordinates.join(','))
        - @items.select{|x| x.register == 'school-eng' && x.end_date.blank? }.each do |school|
          li= link_to school.display_name, school_url(id: school.record)

.grid-row
  .column-full
    h2.heading-small
      | This search service was made using 
      = link_to 'an index of data sourced from registers.', indices_url()

Fix display of schools in search results
Fix display of schools in search results

Fix name of register when filtering school results for display.

openregister/school-demo,openregister/school-demo,openregister/school-demo