.row .col =# link_to(image_tag(@district.logo), @district) if @district.present? %h2= link_to @school.name, @school = simple_format(@school.description) - if @year.present? %p Data from = "#{@year - 1}-#{@year}" school year. Show: - @years.each do |year| = link_to(year, school_category_path(@school_category.school, @school_category.category, year: year)) - if @school.district.present? %p %strong District: = link_to @school.district.name, @school.district