<commit_before><%= form_for :order, :url => populate_orders_path do |f| %>
    <div id="variantTabs">
      <ul class="nav nav-tabs">
        <li class="active">
          <a href="#product-options">Options</a>
        </li>
      </ul>

      <div class="tab-content default-product-layout">
        <div class="tab-pane clearfix active" id="product-options">
          Variants Here
        </div>
        <%= hidden_field_tag :variant_id, '' %>
        <%= hidden_field_tag :quantity, 1 %>
        <div class="btn-group clearfix buy-button" id="buy-button">
          <%= f.submit 'BUY', class: 'btn btn-default' %>
          <%= f.submit number_to_currency(@product.price), class: 'btn btn-default', id: 'variant-price' %>
        </div>
      </div>
    </div>
<% end %><commit_msg>Loading a default row of product options<commit_after><%= form_for :order, :url => populate_orders_path do |f| %>
    <div id="variantTabs">
      <ul class="nav nav-tabs">
        <li class="active">
          <a href="#product-options">Options</a>
        </li>
      </ul>

      <div class="tab-content default-product-layout">
        <div class="tab-pane clearfix active" id="product-options">
          <ul class="variants full-width">
            <% @product.variants.each do |variant| %>
                <li>
                  <input id="<%= variant.id %>" class="btn btn-default variant-button" type="button" value="<%= variant_options variant %>" data-price="<%= Spree::Money.new(variant.price, currency: current_currency, with_currency: false).to_s %>" >
                </li>
            <% end %>
          </ul>
        </div>
        <%= hidden_field_tag :variant_id, '' %>
        <%= hidden_field_tag :quantity, 1 %>
        <div class="btn-group clearfix buy-button" id="buy-button">
          <%= f.submit 'BUY', class: 'btn btn-default' %>
          <%= f.submit number_to_currency(@product.price), class: 'btn btn-default', id: 'variant-price' %>
        </div>
      </div>
    </div>
<% end %>
{'fraction_non_alphanumeric': 0.17764471057884232, 'fraction_numerical': 0.000998003992015968, 'mean_word_length': 2.404074702886248, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 55, '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': '3407766', 'n_tokens_mistral': 663, 'n_tokens_neox': 618, 'n_words': 140}