<commit_before>%h1.title Users

%table#users
  %tr
    %th Name
    %th SPIRE
    %th Email
    %th Phone
    %th
    %th
  - @users.each do |user|
    %tr
      %td
        = user.full_name
        - if user == @fallback
          (fallback)
      %td= user.spire
      %td= user.email
      %td= user.phone
      %td= link_to 'Edit', edit_roster_user_path(@roster, user)
      %td= button_to 'Destroy', roster_user_path(@roster, user), method: :delete
= link_to 'Add new user', new_roster_user_path
- if @other_users.present?
  .form
    Add existing user:
    = form_tag transfer_roster_users_path do
      = select_tag :id,
        options_from_collection_for_select(@other_users, :id, :last_name)
      = submit_tag 'Add'
- if @fallback.nil?
  %h3.slightly-red No fallback user!<commit_msg>Link to select a fallback user<commit_after>%h1.title Users

%table#users
  %tr
    %th Name
    %th SPIRE
    %th Email
    %th Phone
    %th
    %th
  - @users.each do |user|
    %tr
      %td
        = user.full_name
        - if user == @fallback
          (fallback)
      %td= user.spire
      %td= user.email
      %td= user.phone
      %td= link_to 'Edit', edit_roster_user_path(@roster, user)
      %td= button_to 'Destroy', roster_user_path(@roster, user), method: :delete
= link_to 'Add new user', new_roster_user_path
- if @other_users.present?
  .form
    Add existing user:
    = form_tag transfer_roster_users_path do
      = select_tag :id,
        options_from_collection_for_select(@other_users, :id, :last_name)
      = submit_tag 'Add'
- if @fallback.nil?
  .slightly-red
    %h3 No fallback user!
    = link_to 'Select a fallback user...', edit_roster_path(@roster)
{'fraction_non_alphanumeric': 0.11421772754312909, 'fraction_numerical': 0.002379535990481856, 'mean_word_length': 2.617204301075269, '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': '1973418', 'n_tokens_mistral': 615, 'n_tokens_neox': 612, 'n_words': 149}