<commit_before>=form_for section, :url => mapping_update_path(section), :remote => true, :class => 'form-inline' do |f|
  .modal-header
    .pull-right
      %a.widgetbtn.btn.btn-mini{"data-toggle" => "modal", :href => "#comingsoonModal"}
        %i.grcicon-help-black
      %a.widgetbtn.btn.btn-mini{"data-dismiss" => "modal", :href => '#'}
        %i.grcicon-x-grey
    %h2 Controls Mapped to #{@section.slug}

  .modal-body
    .row-fluid
      .span12.well
        =f.check_box :na, :class => :checkbox
        %h3(style='display:inline; font-size:16px')
          &nbsp;No controls implemented for this section
          
    .row-fluid
      .span12
        =f.label :notes, "Note", :class => :cleanlabel
        .wysiwyg-area
          =f.text_area :notes, :class => [:span12, :note], :rows => 3

  .modal-footer
    .row-fluid
      .span6
        .deny-buttons
          %a.btn{:'data-dismiss' => 'modal-reset', :href => '#' } Cancel
      .span6
        .confirm-buttons
          %a.btn.btn-primary{:'data-toggle' => 'modal-submit', :href => '#' } Save<commit_msg>Story 44073935: Added WYSI edtior to the N/A-no controls case in HAML templates (only had it for the controls listing version)<commit_after>=form_for section, :url => mapping_update_path(section), :remote => true, :class => 'form-inline' do |f|
  .modal-header
    .pull-right
      %a.widgetbtn.btn.btn-mini{"data-toggle" => "modal", :href => "#comingsoonModal"}
        %i.grcicon-help-black
      %a.widgetbtn.btn.btn-mini{"data-dismiss" => "modal", :href => '#'}
        %i.grcicon-x-grey
    %h2 Controls Mapped to #{@section.slug}

  .modal-body
    .row-fluid
      .span12.well
        =f.check_box :na, :class => :checkbox
        %h3(style='display:inline; font-size:16px')
          &nbsp;No controls implemented for this section
          
    .row-fluid
      .span12
        =f.label :notes, "Note", :class => :cleanlabel
        .wysiwyg-area
          =f.text_area :notes, :class => [:wysihtml5, :span12, :note], :rows => 3

  .modal-footer
    .row-fluid
      .span6
        .deny-buttons
          %a.btn{:'data-dismiss' => 'modal-reset', :href => '#' } Cancel
      .span6
        .confirm-buttons
          %a.btn.btn-primary{:'data-toggle' => 'modal-submit', :href => '#' } Save

=render :partial => "shared/wysihtml5"
{'fraction_non_alphanumeric': 0.17278617710583152, 'fraction_numerical': 0.015550755939524838, 'mean_word_length': 2.42603550295858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 34, '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': '119637', 'n_tokens_mistral': 841, 'n_tokens_neox': 799, 'n_words': 163}