<commit_before><%= simple_form_for @event, remote: true do |f| %>

  <% flash.each do |key, value| %>
    <%= content_tag :div, value, class: "flash #{key}" %>
  <% end %>

  <div class="form-inputs">
    <%= f.input :title %>
    <%= f.hint "No client names, please. All counselors can see the Title." %>
    <table class="table-condensed">
        <tr>
            <th> <%= f.input :event_type, selected: "counseling", collection: [[ "Counseling Appt", 'counseling' ], [ "Class", 'class' ], [ "Community Life", 'community_life' ], [ "Bible Study", 'bible_study' ]] %> </th>
            <th> <%= f.association :room, as: :select, selected: 1 %> </th>
        </tr>
    </table>

    <strong> Please add Clients below: </strong>
            <div class="container">
              <div class="row">
                <div class="col-lg-12">
                 <div class="button-group">
                    <button type="button" class="btn btn-default" data-toggle="dropdown">
                        <strong> Clients </strong>
                        <span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu">
                    <%= f.association :clients, as: :check_boxes %>
                    </ul>
                  </div>
                </div>
              </div>
            </div>
    <p></p><p></p>
    <strong> Please add Counselors below: </strong>
            <div class="container">
              <div class="row">
                <div class="col-lg-12">
                 <div class="button-group">
                    <button type="button" class="btn btn-default" data-toggle="dropdown">
                        <strong> Counselors </strong>
                        <span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu">
                    <%= f.association :users, as: :check_boxes %>
                    </ul>
                  </div>
                </div>
              </div>
            </div>
<p></p><p></p>

<strong> Please add any new clients: </strong>
    <%= f.hint "If you wish to add a new client, please enter their name and a valid email." %>
    <table class="table-condensed">
        <tr>
            <th> <%= f.input :new_name %></th>
            <th> <%= f.input :new_email %></th>
        </tr>
    </table>
    <%= f.hint "If you wish to add a new client, please enter their name and a valid email." %>
    <%= f.input :date_range, input_html: { class: "form-control input-sm date-range-picker" } %>
    <%= f.input_field :start, as: :hidden, value: Date.today, class: 'form-control input-sm start_hidden' %>
    <%= f.input_field :end, as: :hidden, value: Date.today, class: 'form-control input-sm end_hidden' %>
    <table class="table-condensed">
    <p><b>Recurring</b>
    <%= f.hint "Please only check one." %>
    <tr>
      <th> <%= f.input :none, as: :boolean, :input_html => { :checked => true, :unchecked => false } %> </th>
      <th> <%= f.input :weekly, as: :boolean, :input_html => { :checked => false, :unchecked => true } %> </th>
      <th> <%= f.input :biweekly, as: :boolean, :input_html => { :checked => false, :unchecked => true } %> </th>
    </tr>
    </table> 
    </p>
    <%= f.input :notes %>
  </div>
  <div class="form-actions">
    <%= f.button :submit %>
    <%= link_to 'Delete',
                event,
                method: :delete,
                class: 'btn btn-danger',
                data: { confirm: 'Are you sure?' },
                remote: true unless @event.new_record? %>
  </div>


<% end %>
<commit_msg>init commit<commit_after><%= simple_form_for @event, remote: true do |f| %>

  <% flash.each do |key, value| %>
    <%= content_tag :div, value, class: "flash #{key}" %>
  <% end %>

  <div class="form-inputs">
    <%= f.input :title %>
    <%= f.hint "No client names, please. All counselors can see the Title." %>
    <table class="table-condensed">
        <tr>
            <th> <%= f.input :event_type, selected: "counseling", collection: [[ "Counseling Appt", 'counseling' ], [ "Class", 'class' ], [ "Community Life", 'community_life' ], [ "Bible Study", 'bible_study' ]] %> </th>
            <th> <%= f.association :room, as: :select, selected: 1 %> </th>
        </tr>
    </table>

    <strong> Please add Clients below: </strong>
            <div class="container">
              <div class="row">
                <div class="col-lg-12">
                 <div class="button-group">
                    <button type="button" class="btn btn-default" data-toggle="dropdown">
                        <strong> Clients </strong>
                        <span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu">
                    <%= f.association :clients, as: :check_boxes %>
                    </ul>
                  </div>
                </div>
              </div>
            </div>
    <p></p><p></p>
    <strong> Please add Counselors below: </strong>
            <div class="container">
              <div class="row">
                <div class="col-lg-12">
                 <div class="button-group">
                    <button type="button" class="btn btn-default" data-toggle="dropdown">
                        <strong> Counselors </strong>
                        <span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu">
                    <%= f.association :users, as: :check_boxes %>
                    </ul>
                  </div>
                </div>
              </div>
            </div>
<p></p><p></p>

<strong> Please add any new clients: </strong>
    <%= f.hint "If you wish to add a new client, please enter their name and a valid email." %>
    <table class="table-condensed">
        <tr>
            <th> <%= f.input :new_name %></th>
            <th> <%= f.input :new_email %></th>
        </tr>
    </table>
    <%= f.hint "If you wish to add a new client, please enter their name and a valid email." %>
    <%= f.input :date_range, input_html: { class: "form-control input-sm date-range-picker" } %>
    <%= f.input_field :start, as: :hidden, value: Date.today, class: 'form-control input-sm start_hidden' %>
    <%= f.input_field :end, as: :hidden, value: Date.today, class: 'form-control input-sm end_hidden' %>
    <table class="table-condensed">
    <p><b>Recurring</b>
    <%= f.hint "Please only check one." %>
    <%= f.input :recurring, as: :radio_buttons, selected: "none", collection: [[ "No Repeats", 'none' ], [ "Weekly", 'weekly' ], ["Biweekly", 'biweekly'] %>
    <tr>
      <th> <%= f.input :none, as: :boolean, :input_html => { :checked => true, :unchecked => false } %> </th>
      <th> <%= f.input :weekly, as: :boolean, :input_html => { :checked => false, :unchecked => true } %> </th>
      <th> <%= f.input :biweekly, as: :boolean, :input_html => { :checked => false, :unchecked => true } %> </th>
    </tr>
    </table> 
    </p>
    <%= f.input :notes %>
  </div>
  <div class="form-actions">
    <%= f.button :submit %>
    <%= link_to 'Delete',
                event,
                method: :delete,
                class: 'btn btn-danger',
                data: { confirm: 'Are you sure?' },
                remote: true unless @event.new_record? %>
  </div>


<% end %>

{'fraction_non_alphanumeric': 0.17993174061433448, 'fraction_numerical': 0.0013651877133105802, 'mean_word_length': 1.8122840690978888, 'pattern_counts': {'":': 0, '<': 214, '<?xml version=': 0, '>': 232, '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': '1760344', 'n_tokens_mistral': 2404, 'n_tokens_neox': 2199, 'n_words': 595}