<commit_before>= simple_form_for @reminder_mailing do |f|
  = simple_error_notice f
  = f.input_field :kind, value: @reminder_mailing.kind, as: :hidden

  = render 'form_submit_back', f: f

  .row
    .col-xs-12.col-md-4
      = render 'email_templates/explain_panel', template_varnames: ReminderMailing::TEMPLATE_VARNAMES
    .col-xs-12.col-md-8
      = render 'email_templates/subject_body_inputs', f: f

  fieldset
    legend Frewillige auswählen
    - if f.object.errors.include?(:volunteers)
      = f.error_notification message: f.object.errors.messages[:volunteers].first
    .select-all-mailings.m-b-10
      input type='checkbox' value='' name='select-all-mailings'
      label for='select-all-mailings'
        'Alle Auswählen
    table.table.table-striped.reminder-select
      tbody
        = f.simple_fields_for :reminder_mailing_volunteers do |mailing_volunteer|
          tr data-index="#{mailing_volunteer.index}" class="#{mailing_volunteer.object.picked && 'mailing-selected'}"
            td
              = mailing_volunteer.label :picked, 'Ausgewählt', class: 'sr-only'
              = mailing_volunteer.input_field :picked, as: :boolean
              = mailing_volunteer.input_field :id, as: :hidden
              = mailing_volunteer.input_field :volunteer_id, as: :hidden
              = mailing_volunteer.input_field :reminder_mailable_id, as: :hidden
              = mailing_volunteer.input_field :reminder_mailable_type, as: :hidden
            td.click-selecting= mailing_volunteer.object.reminder_mailable.to_label
            td
              - if mailing_volunteer.object.group_assignment?
                = link_to 'Einsatz Info', mailing_volunteer.object.reminder_mailable.group_offer, target: '_blank'
              - else
                = link_to 'Einsatz Info', mailing_volunteer.object.reminder_mailable, target: '_blank'

  = render 'form_submit_back', f: f
<commit_msg>show volunteer name and link in selection<commit_after>= simple_form_for @reminder_mailing do |f|
  = simple_error_notice f
  = f.input_field :kind, value: @reminder_mailing.kind, as: :hidden

  = render 'form_submit_back', f: f

  .row
    .col-xs-12.col-md-4
      = render 'email_templates/explain_panel', template_varnames: ReminderMailing::TEMPLATE_VARNAMES
    .col-xs-12.col-md-8
      = render 'email_templates/subject_body_inputs', f: f

  fieldset
    legend Frewillige auswählen
    - if f.object.errors.include?(:volunteers)
      = f.error_notification message: f.object.errors.messages[:volunteers].first
    .select-all-mailings.m-b-10
      input type='checkbox' value='' name='select-all-mailings'
      label for='select-all-mailings'
        'Alle Auswählen
    table.table.table-striped.reminder-select
      thead
        tr
          th
          th Einsatz
          th Freiwillige/r
      tbody
        = f.simple_fields_for :reminder_mailing_volunteers do |mailing_volunteer|
          tr data-index="#{mailing_volunteer.index}" class="#{mailing_volunteer.object.picked && 'mailing-selected'}"
            td
              = mailing_volunteer.label :picked, 'Ausgewählt', class: 'sr-only'
              = mailing_volunteer.input_field :picked, as: :boolean
              = mailing_volunteer.input_field :id, as: :hidden
              = mailing_volunteer.input_field :volunteer_id, as: :hidden
              = mailing_volunteer.input_field :reminder_mailable_id, as: :hidden
              = mailing_volunteer.input_field :reminder_mailable_type, as: :hidden
            td.click-selecting= link_to mailing_volunteer.object.reminder_mailable.to_label, mailing_volunteer.object.base_assignment_entity, target: '_blank'
            td.click-selecting= link_to mailing_volunteer.object.volunteer.contact.full_name, mailing_volunteer.object.volunteer, target: '_blank'

  = render 'form_submit_back', f: f

{'fraction_non_alphanumeric': 0.10334029227557412, 'fraction_numerical': 0.0041753653444676405, 'mean_word_length': 3.0863539445629, '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': '7648786', 'n_tokens_mistral': 1295, 'n_tokens_neox': 1275, 'n_words': 215}