2014-09-09 20:04:17 -07:00
|
|
|
- title "Thanks for donating!"
|
|
|
|
|
2014-09-09 21:16:02 -07:00
|
|
|
= image_tag thank_you_greeting_url, id: 'thank-you',
|
|
|
|
alt: '"Thank You" Neogreeting'
|
2014-09-09 20:04:17 -07:00
|
|
|
|
|
|
|
%p
|
|
|
|
%strong Thanks so much!
|
2014-09-09 21:16:02 -07:00
|
|
|
That's another
|
|
|
|
= number_to_currency(@donation.amount.to_f / 100)
|
|
|
|
toward this year's bills—thanks!
|
2014-09-09 20:04:17 -07:00
|
|
|
Your support keeps Dress to Impress online and running smoothly,
|
|
|
|
and we really, truly couldn't do this without you.
|
|
|
|
Do you feel the love? Because we do <3
|
|
|
|
|
|
|
|
%p
|
|
|
|
%strong But enough about us. Let's talk about you!
|
2015-08-05 16:26:12 -07:00
|
|
|
When we brag about you on our #{link_to 'donors list', @donation.campaign},
|
2014-09-10 12:32:54 -07:00
|
|
|
what should we say?
|
2014-09-09 20:04:17 -07:00
|
|
|
(If you'd rather take care of this later, no worries!
|
|
|
|
Check your email for a copy of this URL.)
|
|
|
|
|
2014-09-09 21:16:02 -07:00
|
|
|
= form_for @donation, html: {id: 'edit-donation'} do |f|
|
|
|
|
%ul
|
|
|
|
%li.name
|
2014-09-10 12:32:54 -07:00
|
|
|
= f.label :donor_name, "Your name on the donors list"
|
2014-09-09 21:16:02 -07:00
|
|
|
= f.text_field :donor_name, placeholder: 'Anonymous'
|
|
|
|
|
|
|
|
- @features.each do |feature|
|
|
|
|
%li.feature
|
|
|
|
= label_tag "feature[#{feature.id}][outfit_url]", "Featured outfit URL"
|
|
|
|
= text_field_tag "feature[#{feature.id}][outfit_url]",
|
|
|
|
feature_outfit_url(feature.outfit_id),
|
|
|
|
placeholder: outfit_url(12345678)
|
|
|
|
- if user_signed_in?
|
|
|
|
%span.choose-outfit
|
|
|
|
= surround '(', ')' do
|
|
|
|
or choose
|
|
|
|
= select_tag "feature[#{feature.id}][user_outfits]",
|
|
|
|
options_for_select(@outfits.map { |o| [o.name, outfit_url(o)] },
|
|
|
|
feature_outfit_url(feature.outfit_id)),
|
|
|
|
include_blank: true
|
|
|
|
= f.submit 'Save donation details'
|
|
|
|
|
|
|
|
- content_for :javascripts do
|
2024-09-20 19:22:03 -07:00
|
|
|
= javascript_include_tag 'jquery', 'fundraising/donations/show', defer: true
|
2024-02-18 20:12:14 -08:00
|
|
|
|
|
|
|
- content_for :stylesheets do
|
2024-05-14 16:09:45 -07:00
|
|
|
= page_stylesheet_link_tag 'fundraising/donations/show'
|