<commit_before>= form_for @group do |f|
  - if @group.errors.any?
    #error_explanation
      %h2= "#{pluralize(@group.errors.count, "error")} prohibited this group from being saved:"
      %ul
        - @group.errors.full_messages.each do |msg|
          %li= msg

  .form-group
    = f.label :name
    = f.text_field :name, :class => "form-control"
  .form-group
    = f.label :start, "Timeslot"
    %div
      = select :group, :day, Group::DAYS
      @
      #{select :group, :hour, Group::HOURS} : #{select :group, :minute, Group::MINUTES}
  .form-group
    = f.label :user_id, "Tutor for Group"
    = f.collection_select :user_id, User.all, :id, :name, {include_blank: "Unassigned"}, { :class => "form-control" } 
  .form-group
    = f.label :course_id
    = f.collection_select :course_id, Course.all, :id, :name, { :selected => lambda { |c| c.id == @course.id }}, { :class => "form-control" }
  .actions<commit_msg>Added an input field for room number in view 'edit group'.<commit_after>= form_for @group do |f|
  - if @group.errors.any?
    #error_explanation
      %h2= "#{pluralize(@group.errors.count, "error")} prohibited this group from being saved:"
      %ul
        - @group.errors.full_messages.each do |msg|
          %li= msg

  .form-group
    = f.label :name
    = f.text_field :name, :class => "form-control"
  .form-group
    = f.label :start, "Timeslot"
    %div
      = select :group, :day, Group::DAYS
      @
      #{select :group, :hour, Group::HOURS} : #{select :group, :minute, Group::MINUTES}
  .form-group
    = f.label :room, "Room"
    = f.text_field :room, :class => "form-control"
  .form-group
    = f.label :user_id, "Tutor for Group"
    = f.collection_select :user_id, User.all, :id, :name, {include_blank: "Unassigned"}, { :class => "form-control" } 
  .form-group
    = f.label :course_id
    = f.collection_select :course_id, Course.all, :id, :name, { :selected => lambda { |c| c.id == @course.id }}, { :class => "form-control" }
  .actions
{'fraction_non_alphanumeric': 0.17288306451612903, 'fraction_numerical': 0.0010080645161290322, 'mean_word_length': 2.97, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '4310173', 'n_tokens_mistral': 726, 'n_tokens_neox': 715, 'n_words': 173}