new forms

This commit is contained in:
Lennart Prelle 2012-04-04 11:44:57 +02:00
parent 01ed9fc9d9
commit c2195a3c22
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,6 @@
%form{:action => "https://diaspora-project-site.heroku.com/donate", :method => "get"}
%select{:name => "monthly_amount"}
%option{:value => "1"} Supporter : $5.00USD
%option{:value => "2"} Member : $10.00USD
%option{:value => "3"} Freedom Fighter : $20.00USD
%input{:name => "submit", :type => "submit", :value => t('aspects.index.donate')}

View file

@ -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')}