<commit_before>.item
  = edit_menu_for(portal_school, f, { :omit_cancel => true })
  .content
    %p
      %ul.menu_v
        %li
          District:

          - if portal_school.district && (portal_school.district.respond_to? :name)
            =h(portal_school.district.name)
    
        %li
          Nces school:

          - if portal_school.nces_school && (portal_school.nces_school.respond_to? :name)
            =h(portal_school.nces_school.name)
    
        %li
          Name:

          =f.text_field :name 
    
        %li
          Description:

          =f.text_area :description 
    
    <commit_msg>Follow typical layout. Pulldowns for districts.<commit_after>.item
  = edit_menu_for(portal_school, f, { :omit_cancel => true })
  .content
    %p
      - field_set_tag 'Name' do
        = f.text_field :name, :size => 60
    %p
      - field_set_tag 'NCES School' do
        = select(:portal_school, "nces_school_id", Portal::Nces06School.all.collect {|nces| [ nces.NAME, nces.id ] }, {:include_blank => 'None'})
    %p
      - field_set_tag 'District' do
        = select(:portal_school, "district_id", Portal::District.all.collect {|district| [ district.name, district.id ] }, {:include_blank => 'None'})
    %p
      - field_set_tag 'Description' do
        = f.text_area :description
{'fraction_non_alphanumeric': 0.1246177370030581, 'fraction_numerical': 0.0030581039755351682, 'mean_word_length': 2.264339152119701, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1445264', 'n_tokens_mistral': 450, 'n_tokens_neox': 436, 'n_words': 81}