<commit_before>.small-12.panel.mainContent

  = content_nav_for current_course, "Edit Grading Scheme"
  %h3.pagetitle= @title

  .small-12.columns

    = simple_form_for @course, method: :put, :url => mass_edit_grade_scheme_elements_path(:course_id => @course) do |f|
      %script(id="element-template" type="text/x-template")
        %fieldset.elements
          = f.simple_fields_for :grade_scheme_elements, GradeSchemeElement.new, child_index: 'child_index' do |ef|
            = render 'element_fields', f: ef

      .elements.panel
        - @grade_scheme_elements.order_by_high_range.each do |element|
          %fieldset.element
            %legend.sr-only #{element.letter} #{element.level}
            = f.simple_fields_for :grade_scheme_elements, element do |ef|
              = render 'element_fields', f: ef

        = link_to 'Add a Level', '#', class: 'add-element button radius'

      .button-bar
        %ul.button-group.radius.right
          %li= f.button :submit
          %li= link_to 'Cancel', grade_scheme_elements_path, :class => 'button'<commit_msg>reapair functionality to Add A Level button<commit_after>.small-12.panel.mainContent

  = content_nav_for current_course, "Edit Grading Scheme"
  %h3.pagetitle= @title

  .small-12.columns

    = simple_form_for @course, method: :put, :url => mass_edit_grade_scheme_elements_path(:course_id => @course) do |f|
      %script(id="element-template" type="text/x-template")
        %fieldset.elements
          = f.simple_fields_for :grade_scheme_elements, GradeSchemeElement.new, child_index: 'child_index' do |ef|
            = render 'element_fields', f: ef

      %fieldset.elements.panel
        - @grade_scheme_elements.order_by_high_range.each do |element|
          %fieldset.element
            %legend.sr-only #{element.letter} #{element.level}
            = f.simple_fields_for :grade_scheme_elements, element do |ef|
              = render 'element_fields', f: ef

        = link_to 'Add a Level', '#', class: 'add-element button radius'

      .button-bar
        %ul.button-group.radius.right
          %li= f.button :submit
          %li= link_to 'Cancel', grade_scheme_elements_path, :class => 'button'
{'fraction_non_alphanumeric': 0.12014618547281863, 'fraction_numerical': 0.0045682960255824575, 'mean_word_length': 3.0331491712707184, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6714416', 'n_tokens_mistral': 702, 'n_tokens_neox': 677, 'n_words': 141}