]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blob - templates/modules/donation-input-box.html
235addae9e64123e317ea8ede8e3af9497fe5e69
[people/shoehn/ipfire.org.git] / templates / modules / donation-input-box.html
1 <form class="form-inline" action="https://www.paypal.com/cgi-bin/webscr" method="POST" target="_top">
2 <input type="hidden" name="cmd" value="_donations">
3 <input type="hidden" name="business" value="QBQCHP9ZK7GYY">
4 <input type="hidden" name="lc" value="{{ lc }}">
5 <input type="hidden" name="item_name" value="{{ _("Donation to the IPFire Project") }}">
6 <input type="hidden" name="no_note" value="0">
7 <input type="hidden" name="cn" value="{{ _("Send a note to the project:") }}">
8 <input type="hidden" name="no_shipping" value="1">
9 <input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
10
11 <div class="form-group">
12 <label class="sr-only" for="InputAmount">{{ _("Amount") }}</label>
13 <div class="input-group">
14 <div class="input-group-addon">
15 <select class="form-control" name="currency_code">
16 {% for c in currencies %}
17 <option value="{{ c }}">
18 {% if c == "EUR" %}
19
20 {% elif c == "USD" %}
21 US$
22 {% elif c == "GBP" %}
23 £
24 {% else %}
25 {{ c }}
26 {% end %}
27 </option>
28 {% end %}
29 </select>
30 </div>
31
32 <input type="text" class="form-control input-lg" id="InputAmount"
33 name="amount" placeholder="{{ _("Amount") }}">
34 </div>
35
36 <button type="submit" class="btn btn-danger btn-lg">{{ _("Donate with PayPal") }}</button>
37 </div>
38 </form>