- if user_signed_in? && current_user.super_admin?
  .row.super-admin
    .col-12
      %p= link_to "Create A New School In This District", new_legacy_district_legacy_school_path(@district)


- if true || user_signed_in?
  .row.mt-3
    .col-3
      .district-logo= image_tag("#{@district.name.downcase}.png", class: 'img-fluid')

    .col-6.offset-1
      %br
      %br
      %h4
        Schools in
        = @district.name

      %br
      - @schools.each do |school|
        - next if ["dorchester-academy", "william-mckinley-school", "edco-youth"].index(school.slug)
        %p= link_to school.name, school

      %br
      %br
      %br
      %br
      = link_to "View All Districts", root_path

- else
  .text-center.my-3.py-3
    %h3.my-3.py-3
      MCIEA is currently in beta testing.
    %p.py-3
      If you have an account, please sign in.
