Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%= form_tag challenge_donations_path(@challenge) do %>
- <p>
- <%= @user_athlete %> thanks you for helping <%= @npname %>, in their quest for making a better world.
- </p>
- <p>
- Don't forget to visit their website at: <%= @user_website %>
- </p>
- <p>
- There are still <> miles left you can buy.
- </p>
- <p>
- Each of your donations will be for ONE mile.
- </p>
- <script
- src="https://checkout.stripe.com/checkout.js"
- class="stripe-button"
- data-key= "<%= @publishable_key %>"
- data-amount= "<%= @amount %>"
- data-description= "You are donating to <%= @npname %>"
- data-image="<%= image_path('iconsmall2.jpg') %>"
- data-name="Mymiles.us"
- data-amount="<%= @amount %>"
- data-panel-label="Donate">
- </script>
- <% end %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement