<commit_before><%= form_for @ceu do |f| %>
<%= f.hidden_field :user_id, value: current_user.id %>

<div class="field">
  <span class="field"><i class="fa fa-info"></i></span>
  <%= f.text_field :title, placeholder: "CEU Title" %>
</div>
<br>
<div class="field">
  <span class="field"><i class="fa fa-calendar-o"></i></span>
  <%= f.date_field :date %>
</div>
<br>
<div class="field">
  <span class="field"><i class="fa fa-map-marker"></i></span>
  <%= f.text_field :location, placeholder: "Location" %>
</div>
<br>
<div class="field">
  <span class="field"><i class="fa fa-clock-o"></i></span>
  <%= f.number_field :duration, placeholder: "Duration in Minutes" %>
</div>
<br>
<div class="field">
  <span class="field"><i class="fa fa-trophy"></i></span> <%= f.label :"Choose Certificate Type:" %>
  <br>
  <%= f.collection_radio_buttons :certificate_ids, Certificate.all, :id, :classification %>
</div>
<br>
<div class="actions">
  <%= f.submit "Create CEU", class: 'btn btn-primary' %>
</div>

<% end %><commit_msg>edited new ceu form; removed radio buttons, changed to text field<commit_after><%= form_for @ceu do |f| %>
<%= f.hidden_field :user_id, value: current_user.id %>

<div class="field">
  <span class="field"><i class="fa fa-info"></i></span>
  <%= f.text_field :title, placeholder: "CEU Title" %>
</div>
<br>
<div class="field">
  <span class="field"><i class="fa fa-calendar-o"></i></span>
  <%= f.date_field :date %>
</div>
<br>
<div class="field">
  <span class="field"><i class="fa fa-map-marker"></i></span>
  <%= f.text_field :location, placeholder: "Location" %>
</div>
<br>
<div class="field">
  <span class="field"><i class="fa fa-clock-o"></i></span>
  <%= f.number_field :duration, placeholder: "Duration in Minutes" %>
</div>
<br>
<div class="field">
  <span class="field"><i class="fa fa-trophy"> </i> </span> <%= f.label :'Enter State or National:' %>

  <br>
  <%= f.fields_for :certificates, @certficates do |certificate| %>
    <%= certificate.text_field :classification %>
    <% end %>
</div>
<br>
<div class="actions">
  <%= f.submit "Create CEU", class: 'btn btn-primary' %>
</div>

<% end %>
{'fraction_non_alphanumeric': 0.23941674506114768, 'fraction_numerical': 0.0, 'mean_word_length': 4.908333333333333, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, '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': '492913', 'n_tokens_mistral': 834, 'n_tokens_neox': 777, 'n_words': 188}