diff --git a/app/views/shared/_donate.html.erb b/app/views/shared/_donate.html.erb deleted file mode 100644 index 472aa42a2..000000000 --- a/app/views/shared/_donate.html.erb +++ /dev/null @@ -1,15 +0,0 @@ - -
- - - - - - - -
- diff --git a/app/views/shared/_donate.html.haml b/app/views/shared/_donate.html.haml new file mode 100644 index 000000000..38a04b6a6 --- /dev/null +++ b/app/views/shared/_donate.html.haml @@ -0,0 +1,11 @@ +%form{:action => "https://www.paypal.com/cgi-bin/webscr", :method => "post"} + %input{:name => "cmd", :type => "hidden", :value => "_s-xclick"} + %input{:name => "hosted_button_id", :type => "hidden", :value => AppConfig[:paypal_hosted_button_id]} + %input{:name => "on0", :type => "hidden", :value => "Type"} + %input{:name => "modify", :type => "hidden", :value => "2"} + %select{:name => "os0"} + %option{:value => "Mocha"} Mocha : $3.00USD + %option{:value => "Americano"} Americano : $5.00USD + %option{:value => "Box o' Joe"} Box o' Joe : $20.00USD + %input{:name => "currency_code", :type => "hidden", :value => "USD"} + %input{:name => "submit", :type => "submit", :value => t('aspects.index.donate')}