<commit_before>.form-group
  = form.label :name
  .input-group
    = form.text_field :name, onkeyup: 'update_address(this.value)', class: 'form-control'
    %span.input-group-addon{ title: t('groups.edit.required_field') }
      = icon 'fa fa-star text-red'
.form-group
  = form.label :category
  .input-group
    = form.select :category, group_categories, { include_blank: true }, class: 'can-create form-control'
    %span.input-group-addon{ title: t('groups.edit.required_field') }
      = icon 'fa fa-star text-red'
  %span.help-block
    = t('groups.edit.category.help')
.form-group
  = form.label :description
  = form.text_area :description, rows: 3, class: 'form-control'
  %span.help-block
    = t('groups.edit.description.help')
.form-group
  = form.label :other_notes
  = form.text_area :other_notes, rows: 3, class: 'form-control'
.form-group
  = form.label :leaders
  = form.select :leaders, @group.people.map { |m| [m.name, m.id] }, { include_blank: false }, class: 'form-control', multiple: 'multiple', name: 'group[group_leaders_attributes][][person_id]'
  = form.hidden_field :leaders, name: 'group[group_leaders_attributes][][group_id]', value: @group.id
.form-group
  = form.label :creator
  = form.text_field :creator, value: (@group.creator ? @group.creator.name : nil), readonly: true, name: 'creator_name', class: 'form-control'
.form-group
  = form.submit t('save_changes'), class: 'btn btn-success'<commit_msg>Select current leaders in the edit group page.<commit_after>.form-group
  = form.label :name
  .input-group
    = form.text_field :name, onkeyup: 'update_address(this.value)', class: 'form-control'
    %span.input-group-addon{ title: t('groups.edit.required_field') }
      = icon 'fa fa-star text-red'
.form-group
  = form.label :category
  .input-group
    = form.select :category, group_categories, { include_blank: true }, class: 'can-create form-control'
    %span.input-group-addon{ title: t('groups.edit.required_field') }
      = icon 'fa fa-star text-red'
  %span.help-block
    = t('groups.edit.category.help')
.form-group
  = form.label :description
  = form.text_area :description, rows: 3, class: 'form-control'
  %span.help-block
    = t('groups.edit.description.help')
.form-group
  = form.label :other_notes
  = form.text_area :other_notes, rows: 3, class: 'form-control'
.form-group
  = form.label :leaders
  = form.hidden_field :leaders, name: 'group[group_leaders_attributes][][group_id]', value: @group.id
  = form.select :leaders, @group.people.map { |m| [m.name, m.id, selected: ('selected' if @group.leaders.include? m )] }, { include_blank: false }, class: 'form-control', multiple: 'multiple', name: 'group[group_leaders_attributes][][person_id]'
.form-group
  = form.label :creator
  = form.text_field :creator, value: (@group.creator ? @group.creator.name : nil), readonly: true, name: 'creator_name', class: 'form-control'
.form-group
  = form.submit t('save_changes'), class: 'btn btn-success'
{'fraction_non_alphanumeric': 0.16469394656746703, 'fraction_numerical': 0.0013527223537368955, 'mean_word_length': 4.310592459605027, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5918482', 'n_tokens_mistral': 1037, 'n_tokens_neox': 1030, 'n_words': 215}