<commit_before><div id="group_name">
  <h1><%= @group.name.capitalize %></h1>
</div>

<div id="group_games_ct">
  <h1>Games</h1>
  <% @group.games.each do |game| %>
    <div class="show_game">
      <h2><%= game.name %></h2>
        <% if game.clashes.empty? %>
          <p>You haven't had any clashes yet!</p>
          <form action="/clash/new" method="POST" class="add_clash_button">
            <input type="hidden" name="game[id]" value="<%= game.id %>">
            <input type="submit" value="Add Clash">
          </form>
        <% else %>
          <ul>
          <% game.clashes.each do |clash| %>
            <span>Clash Date</span>
            <li>Winner: </li>
          <% end %>
        </ul>
      <% end %>
    </div>
  <% end %>
    <form action="/game/new" method="POST" id="add_game_button">
      <input type="hidden" name="group[id]" value="<%= @group.id %>">
      <input type="submit" value="Add Game">
    </form>
</div><commit_msg>Edits clash/new form to be a get route<commit_after><div id="group_name">
  <h1><%= @group.name.capitalize %></h1>
</div>

<div id="group_games_ct">
  <h1>Games</h1>
  <% @group.games.each do |game| %>
    <div class="show_game">
      <h2><%= game.name %></h2>
        <% if game.clashes.empty? %>
          <p>You haven't had any clashes yet!</p>
          <form action="/clash/new" method="GET" class="add_clash_button">
            <input type="hidden" name="game[id]" value="<%= game.id %>">
            <input type="submit" value="Add Clash">
          </form>
        <% else %>
          <ul>
            <% game.clashes.each do |clash| %>
              <span>Clash Date: </span>
              <li>Winner: <%= clash %></li>
            <% end %>
          </ul>
          <form action="/clash/new" method="GET" class="add_clash_button">
            <input type="hidden" name="game[id]" value="<%= game.id %>">
            <input type="submit" value="Add Clash">
          </form>
        <% end %>
    </div>
  <% end %>

    <form action="/game/new" method="POST" id="add_game_button">
      <input type="hidden" name="group[id]" value="<%= @group.id %>">
      <input type="submit" value="Add Game">
    </form>
</div>
{'fraction_non_alphanumeric': 0.2112482853223594, 'fraction_numerical': 0.0054869684499314125, 'mean_word_length': 2.265671641791045, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, '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': '1413700', 'n_tokens_mistral': 812, 'n_tokens_neox': 749, 'n_words': 158}