<commit_before>%h2 A review of your Personalised Learning Programme
= create_event_form ReviewLine do |f|
  .span9
    .row
      .span1= image_tag "events/reviews.png"
      .span4
        %h5 
          Please review all 
          = Settings.one_to_one_prompts.split("|").map(&:lines).reject(&:blank?).count
          areas in the dropdown list below
        = select_tag "unitxhoose", options_for_select(Settings.one_to_one_prompts.lines.select{|l| l.start_with? "|"}.map{|l| [l[1..-1],"prompt#{l.gsub(/\W+/,"_")}"]}),:class => "span4"
        = f.hidden_field :unit
        = f.text_area :body, :style => "height:200px", :placeholder => "Your target / grade is..."
      - Settings.one_to_one_prompts.split("|").map(&:lines).reject(&:blank?).each do |l|
        .span4.the_prompts{:id => "prompt_#{l.first.gsub(/\W+/,"_")}"}
          %h4 Questions to prompt conversation:
          %ul
            - l[1..-1].each do |i|
              %li= i
  = add_event_button
:coffeescript
  $('#unitxhoose').change (e) ->
    $('.the_prompts').hide('fast')
    $('#' + $('#unitxhoose').val()).show('fast')
    unit = $('option[value=' + $('#unitxhoose').val() + ']').html()
    $('#review_line_unit').val(unit)
  $('#unitxhoose').change()<commit_msg>Added student name to reviews to assist guidance<commit_after>%h2 A review of #{@topic.forename? ? @topic.forename.split(' ')[0]+((@topic.forename.split(' ')[0][-1]) == 's' ? "'" : "'s") : 'your'} Personalised Learning Programme
= create_event_form ReviewLine do |f|
  .span9
    .row
      .span1= image_tag "events/reviews.png"
      .span4
        %h5 
          Please review all 
          = Settings.one_to_one_prompts.split("|").map(&:lines).reject(&:blank?).count
          areas in the dropdown list below
        = select_tag "unitxhoose", options_for_select(Settings.one_to_one_prompts.lines.select{|l| l.start_with? "|"}.map{|l| [l[1..-1],"prompt#{l.gsub(/\W+/,"_")}"]}),:class => "span4"
        = f.hidden_field :unit
        = f.text_area :body, :style => "height:200px", :placeholder => "#{@topic.forename? ? @topic.forename.split(' ')[0]+((@topic.forename.split(' ')[0][-1]) == 's' ? "'" : "'s") : 'Your'} target / grade is..."
      - Settings.one_to_one_prompts.split("|").map(&:lines).reject(&:blank?).each do |l|
        .span4.the_prompts{:id => "prompt_#{l.first.gsub(/\W+/,"_")}"}
          %h4 Questions to prompt conversation:
          %ul
            - l[1..-1].each do |i|
              %li= i
  = add_event_button
:coffeescript
  $('#unitxhoose').change (e) ->
    $('.the_prompts').hide('fast')
    $('#' + $('#unitxhoose').val()).show('fast')
    unit = $('option[value=' + $('#unitxhoose').val() + ']').html()
    $('#review_line_unit').val(unit)
  $('#unitxhoose').change()
{'fraction_non_alphanumeric': 0.2231915667030171, 'fraction_numerical': 0.013086150490730643, 'mean_word_length': 3.0952380952380953, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '1878127', 'n_tokens_mistral': 1008, 'n_tokens_neox': 991, 'n_words': 168}