<commit_before>- if @course.errors.any?
  .alert-box.alert.radius
    .italic= "#{pluralize(@course.errors.count, "error")} prohibited this course from being saved:"
    %ul
      - @course.errors.full_messages.each do |msg|
        %li= msg

= simple_form_for(@course, :validate => false)  do |f|

  .small-12.large-4.columns.right.columns-no-padding_right
    .panel.callout.radius
      %h4.uppercase SETTINGS
      .small-12
        %label.checkbox{ :for => "use_timeline" }
          = f.label :use_timeline, "Timeline"
          = f.check_box :use_timeline, {"aria-describedby" => "txtUseTimeline"}
          .form_label{:id => "txtUseTimeline"} Would you like to use the interactive timeline to display your syllabus?

      .small-12
        %label.checkbox{ :for => "accepts_submissions" }
          = f.label :accepts_submissions, "Assignment Submissions"
          = f.check_box :accepts_submissions, {"aria-describedby" => "txtAcceptSubmission"}
          .form_label{:id => "txtAcceptSubmission"} Will you be using GradeCraft to accept assignment submissions?

      .small-12
        %label.checkbox{ :for => "team_setting" }
          = f.label :team_setting, "Sections"
          = f.check_box :team_setting, {"aria-describedby" => "txtSections"}
          .form_label{:id => "txtSections"}  Will you have semester-long sections in your course?

      .small-12
        %label.checkbox{ :for => "team_challenges" }
          = f.label :team_challenges, "Section Assignments"
          = f.check_box :team_challenges, {"aria-describedby" => "txtSections"}
          .form_label{:id => "txtSections"}  Will you have section assignments in your course?

      .small-12
        %label.checkbox{ :for => "badge_setting" }
          = f.label :badge_setting, "Badges"
          = f.check_box :badge_setting
          .form_label Do you want to use badges in your course?

      .small-12
        %label.checkbox{ :for => "shared_badges"}
          = f.input :shared_badges, :label => "Social Badges"
          .form_label Can students can share badges with the class?


      .small-12
        %label.checkbox{ :for => "teams_visible" }
          = f.label :teams_visible, "Section Leaderboard"
          = f.check_box :teams_visible, {"aria-describedby" => "txtSectionLeaderboard"}
          .form_label{:id => "txtSectionLeaderboard"} Can students see a leaderboard of the section rankings and their points?

      .small-12
        %label.checkbox{ :for => "in_team_leaderboard" }
          = f.label :in_team_leaderboard, "In-Section Leaderboard"
          = f.check_box :in_team_leaderboard, {"aria-describedby" => "txtInSectionLeaderboard"}<commit_msg>Remove shared badge setting altogether<commit_after>- if @course.errors.any?
  .alert-box.alert.radius
    .italic= "#{pluralize(@course.errors.count, "error")} prohibited this course from being saved:"
    %ul
      - @course.errors.full_messages.each do |msg|
        %li= msg

= simple_form_for(@course, :validate => false)  do |f|

  .small-12.large-4.columns.right.columns-no-padding_right
    .panel.callout.radius
      %h4.uppercase SETTINGS
      .small-12
        %label.checkbox{ :for => "use_timeline" }
          = f.label :use_timeline, "Timeline"
          = f.check_box :use_timeline, {"aria-describedby" => "txtUseTimeline"}
          .form_label{:id => "txtUseTimeline"} Would you like to use the interactive timeline to display your syllabus?

      .small-12
        %label.checkbox{ :for => "accepts_submissions" }
          = f.label :accepts_submissions, "Assignment Submissions"
          = f.check_box :accepts_submissions, {"aria-describedby" => "txtAcceptSubmission"}
          .form_label{:id => "txtAcceptSubmission"} Will you be using GradeCraft to accept assignment submissions?

      .small-12
        %label.checkbox{ :for => "team_setting" }
          = f.label :team_setting, "Sections"
          = f.check_box :team_setting, {"aria-describedby" => "txtSections"}
          .form_label{:id => "txtSections"}  Will you have semester-long sections in your course?

      .small-12
        %label.checkbox{ :for => "team_challenges" }
          = f.label :team_challenges, "Section Assignments"
          = f.check_box :team_challenges, {"aria-describedby" => "txtSections"}
          .form_label{:id => "txtSections"}  Will you have section assignments in your course?

      .small-12
        %label.checkbox{ :for => "badge_setting" }
          = f.label :badge_setting, "Badges"
          = f.check_box :badge_setting
          .form_label Do you want to use badges in your course?

      .small-12
        %label.checkbox{ :for => "teams_visible" }
          = f.label :teams_visible, "Section Leaderboard"
          = f.check_box :teams_visible, {"aria-describedby" => "txtSectionLeaderboard"}
          .form_label{:id => "txtSectionLeaderboard"} Can students see a leaderboard of the section rankings and their points?

      .small-12
        %label.checkbox{ :for => "in_team_leaderboard" }
          = f.label :in_team_leaderboard, "In-Section Leaderboard"
          = f.check_box :in_team_leaderboard, {"aria-describedby" => "txtInSectionLeaderboard"}
{'fraction_non_alphanumeric': 0.12468538238141336, 'fraction_numerical': 0.007357212003872217, 'mean_word_length': 2.8466120625465376, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 43, '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': '4902271', 'n_tokens_mistral': 1682, 'n_tokens_neox': 1596, 'n_words': 373}