move _donate.html.erb to _donate.html.haml and make it translateable
This commit is contained in:
parent
fbf7c5c708
commit
5a3445150c
2 changed files with 11 additions and 15 deletions
|
|
@ -1,15 +0,0 @@
|
||||||
|
|
||||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
|
||||||
<input type="hidden" name="cmd" value="_s-xclick">
|
|
||||||
<input type="hidden" name="hosted_button_id" value="<%= AppConfig[:paypal_hosted_button_id] %>">
|
|
||||||
<input type="hidden" name="on0" value="Type">
|
|
||||||
<input type="hidden" name="modify" value="2">
|
|
||||||
<select name="os0">
|
|
||||||
<option value="Mocha">Mocha : $3.00USD</option>
|
|
||||||
<option value="Americano">Americano : $5.00USD</option>
|
|
||||||
<option value="Box o' Joe">Box o' Joe : $20.00USD</option>
|
|
||||||
</select>
|
|
||||||
<input type="hidden" name="currency_code" value="USD">
|
|
||||||
<input type="submit" name="submit" value="Donate">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
11
app/views/shared/_donate.html.haml
Normal file
11
app/views/shared/_donate.html.haml
Normal 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')}
|
||||||
Loading…
Reference in a new issue