.row
  .col
    =# link_to(image_tag(@district.logo), @district) if @district.present?
    %h2= link_to @school.name, school_path(@school, year: @year)
    = simple_format(@school.description)
    - if @year.present?
      %p

    - if @years.present?
      %p
        %b Data from:
        - @years.sort.reverse.each do |year|
          &nbsp; &nbsp;
          - if @school_category.present?
            = link_to_unless(year == @year, "#{year - 1}-#{year}", school_category_path(@school_category.school, @school_category.category, year: year))
          - else
            = link_to_unless(year == @year, "#{year - 1}-#{year}", school_path(@school, year: year))
    - if @school.district.present?
      %p
        %strong District:
        = link_to @school.district.name, @school.district
