<commit_before><h2>Create New Trip</h2>

<% if flash[:error] %>
  <h3 style="color: red;"><%= flash[:error] %></h3>
<% end %>

<%= form_tag trips_path do |f|  %>
  <%= hidden_field_tag "origin_address[user_id]", 1 %>
  <%= hidden_field_tag "destination_address[user_id]", 1 %>
  <%= hidden_field_tag "trip[driver_id]", 1 %><commit_msg>add current_user.id to new trip form<commit_after><h2>Create New Trip</h2>

<% if flash[:error] %>
  <h3 style="color: red;"><%= flash[:error] %></h3>
<% end %>

<%= form_tag trips_path do |f|  %>
  <%= hidden_field_tag "origin_address[user_id]", current_user.id %>
  <%= hidden_field_tag "destination_address[user_id]", current_user.id %>
  <%= hidden_field_tag "trip[driver_id]", current_user.id %>
{'fraction_non_alphanumeric': 0.20680272108843537, 'fraction_numerical': 0.014965986394557823, 'mean_word_length': 5.943396226415095, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '5872297', 'n_tokens_mistral': 308, 'n_tokens_neox': 275, 'n_words': 53}