<commit_before><h1>create new match</h1>
<div class="content-inner">

<%= simple_form_for([:admin, @match]) do |f| %>
  <%= f.error_notification %>
  <%= f.input :tournament_id, as: :hidden, value: @tournament.id %>
  <%= f.input :home_team_id, collection: @teams, as: :select, label: "home team" %>
  <%= f.input :away_team_id, collection: @teams, as: :select, label: "away team" %>
  <%= f.input :week_num, label: "Week" %>
  <%= f.input :match_date, as: :date, label: "Match Date" %>
  <%= f.submit "Add New Match" %>
<% end %>

</div><commit_msg>added date picker to match create<commit_after><h1>create new match</h1>
<div class="content-inner">

<%= simple_form_for([:admin, @match]) do |f| %>
  <%= f.error_notification %>
  <%= f.input :tournament_id, as: :hidden, value: @tournament.id %>
  <%= f.input :home_team_id, collection: @teams, as: :select, label: "home team" %>
  <%= f.input :away_team_id, collection: @teams, as: :select, label: "away team" %>
  <%= f.input :week_num, label: "Week" %>
  <%= f.input :match_date, as: :string, input_html: { class: "datepicker" }, label: "Match Date" %>
  <%= f.submit "Add New Match" %>
<% end %>

</div>

<script>
  $('.datepicker').datepicker({format: 'yyyy-mm-dd'});
</script>
{'fraction_non_alphanumeric': 0.22123176661264182, 'fraction_numerical': 0.0032414910858995136, 'mean_word_length': 4.7981220657277, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '4608640', 'n_tokens_mistral': 512, 'n_tokens_neox': 467, 'n_words': 113}