<commit_before>.row.variants{bindonce: true,
  "ng-repeat" => "variant in product.variants track by variant.id"}

  .small-12.medium-4.large-4.columns.variant-name
    .table-cell  
      .inline {{ variant.name_to_display }}
      .bulk-buy.inline{"bo-if" => "product.group_buy"}
        %i.ofn-i_056-bulk><
        %em><
          \ Bulk

  -# WITHOUT GROUP BUY
  .small-5.medium-3.large-3.columns.text-right{"bo-if" => "!product.group_buy"}
    %input{type: :number, 
    value: nil, 
    min: 0, 
    placeholder: "0",
    "ofn-disable-scroll" => true,
    "ng-model" => "variant.line_item.quantity",
    max: "{{variant.on_demand && 9999 || variant.count_on_hand }}",
    name: "variants[{{variant.id}}]", id: "variants_{{variant.id}}"}
      

  -# WITH GROUP BUY
  .small-5.medium-3.large-3.columns.text-right{"bo-if" => "product.group_buy"}
    %span.bulk-input-container
      %span.bulk-input
        %input.bulk.first{type: :number, 
        value: nil, 
        min: 0, 
        "ng-model" => "variant.line_item.quantity",
        placeholder: "min",
        "ofn-disable-scroll" => true,
        max: "{{variant.on_demand && 9999 || variant.count_on_hand }}",
        name: "variants[{{variant.id}}]", id: "variants_{{variant.id}}"}
      %span.bulk-input{"bo-if" => "product.group_buy"}
        %input.bulk.second{type: :number,
        min: 0,
        "ng-model" => "variant.line_item.max_quantity",
        placeholder: "max",
        "ofn-disable-scroll" => true,
        max: "{{variant.on_demand && 9999 || variant.count_on_hand }}",
        name: "variant_attributes[{{variant.id}}][max_quantity]"}

  .small-3.medium-1.large-1.columns.variant-unit
    .table-cell 
      %em {{ variant.unit_to_display }}

  .small-4.medium-2.large-2.columns.variant-price
    .table-cell.price
      %i.ofn-i_009-close 
      {{ variant.price | currency }}

      %button.graph-button{popover: "This is the popover text", "popover-title" => "The title.", "popover-animation" => "true", "popover-trigger" =>"mouseenter", "popover-placement" => "top", "tabindex" => "-1"}
        %i.ofn-i-058-graph

  .small-12.medium-2.large-2.columns.total-price.text-right
    .table-cell
      %strong
        {{ variant.getPrice() | currency }} <commit_msg>Comment out Price breakdown graph and popover until we can make this work<commit_after>.row.variants{bindonce: true,
  "ng-repeat" => "variant in product.variants track by variant.id"}

  .small-12.medium-4.large-4.columns.variant-name
    .table-cell  
      .inline {{ variant.name_to_display }}
      .bulk-buy.inline{"bo-if" => "product.group_buy"}
        %i.ofn-i_056-bulk><
        %em><
          \ Bulk

  -# WITHOUT GROUP BUY
  .small-5.medium-3.large-3.columns.text-right{"bo-if" => "!product.group_buy"}
    %input{type: :number, 
    value: nil, 
    min: 0, 
    placeholder: "0",
    "ofn-disable-scroll" => true,
    "ng-model" => "variant.line_item.quantity",
    max: "{{variant.on_demand && 9999 || variant.count_on_hand }}",
    name: "variants[{{variant.id}}]", id: "variants_{{variant.id}}"}
      

  -# WITH GROUP BUY
  .small-5.medium-3.large-3.columns.text-right{"bo-if" => "product.group_buy"}
    %span.bulk-input-container
      %span.bulk-input
        %input.bulk.first{type: :number, 
        value: nil, 
        min: 0, 
        "ng-model" => "variant.line_item.quantity",
        placeholder: "min",
        "ofn-disable-scroll" => true,
        max: "{{variant.on_demand && 9999 || variant.count_on_hand }}",
        name: "variants[{{variant.id}}]", id: "variants_{{variant.id}}"}
      %span.bulk-input{"bo-if" => "product.group_buy"}
        %input.bulk.second{type: :number,
        min: 0,
        "ng-model" => "variant.line_item.max_quantity",
        placeholder: "max",
        "ofn-disable-scroll" => true,
        max: "{{variant.on_demand && 9999 || variant.count_on_hand }}",
        name: "variant_attributes[{{variant.id}}][max_quantity]"}

  .small-3.medium-1.large-1.columns.variant-unit
    .table-cell 
      %em {{ variant.unit_to_display }}

  .small-4.medium-2.large-2.columns.variant-price
    .table-cell.price
      %i.ofn-i_009-close 
      {{ variant.price | currency }}

      / %button.graph-button{popover: "This is the popover text", "popover-title" => "The title.", "popover-animation" => "true", "popover-trigger" =>"mouseenter", "popover-placement" => "top", "tabindex" => "-1"}
      /   %i.ofn-i-058-graph

  .small-12.medium-2.large-2.columns.total-price.text-right
    .table-cell
      %strong
        {{ variant.getPrice() | currency }} 
{'fraction_non_alphanumeric': 0.18588338448049102, 'fraction_numerical': 0.020166593599298552, 'mean_word_length': 2.682808716707022, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 39, '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': '6976093', 'n_tokens_mistral': 1716, 'n_tokens_neox': 1609, 'n_words': 252}