<commit_before><h1>[FooBarBlubber]</h1>
(This is your anti phishing secret)

<% if @valid && @sold_product.downloadable? %>


  <div class="alert alert-success">This is a valid Code.</div>
  <h1><%=@sold_product.name %></h1>
  <% if @sold_product.images.length > 0 %>
  <div class="row">
    <div class="col-xs-6">
      <span class="product-previews">
        <% @sold_product.images.each do |image| %>
          <%=link_to @sold_product.product do
            image_tag(image.image.url(:thumb))
          end %>
        <% end %>
      </span>
    </div>
    <div class="col-xs-6">
      <a href="<%=issue_path %>" data-method="delete" class="btn btn-primary btn-block" >Use it!</a>
      <hr>
      <a href="<%=validation_index_path%>" class="btn btn-danger btn-block"  >Cancel</a>
    </div>
  </div>

  <% end %>


<% elsif @valid && @sold_product.issued? %>

  <div class="alert alert-danger">This Ticket has already been used.</div>

<% else %>
  <div class="alert alert-danger">This is not a valid Ticket.</div>
<% end %><commit_msg>Fixed Bug: Show Issue Ticket Link without images<commit_after><h1>[FooBarBlubber]</h1>
(This is your anti phishing secret)

<% if @valid && @sold_product.downloadable? %>


  <div class="alert alert-success">This is a valid Code.</div>
  <h1><%=@sold_product.name %></h1>
  <div class="row">
    <div class="col-xs-6">
      <span class="product-previews">
        <% if @sold_product.former_product.images.length > 0 %>
          <% @sold_product.former_product.images.each do |image| %>
            <%=link_to @sold_product.product do
              image_tag(image.image.url(:thumb))
            end %>
          <% end %>
        <% end %>
      </span>
    </div>
    <div class="col-xs-6">
      <a href="<%=issue_path %>" data-method="delete" class="btn btn-primary btn-block" >Use it!</a>
      <hr>
      <a href="<%=validation_index_path%>" class="btn btn-danger btn-block"  >Cancel</a>
    </div>
  </div>


<% elsif @valid && @sold_product.issued? %>

  <div class="alert alert-danger">This Ticket has already been used.</div>

<% else %>
  <div class="alert alert-danger">This is not a valid Ticket.</div>
<% end %>
{'fraction_non_alphanumeric': 0.1868081180811808, 'fraction_numerical': 0.006457564575645757, 'mean_word_length': 2.994475138121547, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4380162', 'n_tokens_mistral': 812, 'n_tokens_neox': 737, 'n_words': 167}