<commit_before><div class="project-contribute">

  <div>
    Contribute <span class="amount"><%= number_to_currency(@contribution.amount) %></span>
    to <span class="project-name"><%= link_to(@contribution.project.name, @contribution.project)%></span> (Project #<%=@contribution.project.id%>).
  </div>

  <% if @contribution.reward %>
    <div id="reward_text">
      Your contribution will earn the following reward!
      <br/>
      <%= number_to_currency(@contribution.reward.amount) %> or more:
      &quot;<%= @contribution.reward.description %>&quot;
    </div>
  <% end %>

  <div>
  EverythingFunded uses
  <% if @contribution.project.payment_gateway == 'wepay' %>
    WePay
  <% end %>
  <% if @contribution.project.payment_gateway == 'amazon' %>
    Amazon Payments
  <% end %>
   to process contributions.
  </div>

  <div class="payments-logo">
  <% if @contribution.project.payment_gateway == 'wepay' %>
    <%= image_tag "wepay_small.png" %>
  <% end %>
  <% if @contribution.project.payment_gateway == 'amazon' %>
    <%= image_tag "amazon-payments.gif" %>
  <% end %>
  </div>

  = render :partial => "checkout_#{@contribution.project.payment_gateway}"

</div>

<commit_msg>slim this<commit_after>div.project-contribute

  div
    | Contribute
    span.amount
      = number_to_currency(@contribution.amount)
    |  to
    span.project-name
      |  #{link_to(@contribution.project.name, @contribution.project)}
    |  (Project ##{@contribution.project.id}).

  - if @contribution.reward
    div#reward_text
      | Your contribution will earn the following reward!
      br
      = number_to_currency(@contribution.reward.amount)
      | or more: "#{@contribution.reward.description}"

  div
    | EverythingFunded uses
    - if @contribution.project.payment_gateway == 'wepay'
      WePay
    - if @contribution.project.payment_gateway == 'amazon'
      Amazon Payments
    | to process contributions.

  div.payments-logo
    - if @contribution.project.payment_gateway == 'wepay'
      = image_tag "wepay_small.png"
    - if @contribution.project.payment_gateway == 'amazon'
      = image_tag "amazon-payments.gif"

  = render :partial => "checkout_#{@contribution.project.payment_gateway}"


{'fraction_non_alphanumeric': 0.15124153498871332, 'fraction_numerical': 0.0, 'mean_word_length': 3.5316973415132926, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 37, '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': '6068935', 'n_tokens_mistral': 788, 'n_tokens_neox': 721, 'n_words': 129}