= form_for(school) do |f|
  - if school.errors.any?
    #error_explanation
      %h2
        = pluralize(school.errors.count, "error")
        prohibited this school from being saved:
      %ul
        - school.errors.full_messages.each do |message|
          %li= message
  .form-group
    = f.label :name
    = f.text_field :name, class: 'form-control'
  -# .form-group
  -#   = f.label :district_id
  -#   = f.number_field :district_id, class: 'form-control'
  .form-group
    = f.submit 'Save School', class: 'btn btn-primary'
