]>
Commit | Line | Data |
---|---|---|
60b0917c MT |
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 | ||
b54b8ec3 | 11 | <div class="form-group d-flex justify-content-center flex-column d-inline-flex"> |
60b0917c | 12 | <label class="sr-only" for="InputAmount">{{ _("Amount") }}</label> |
b54b8ec3 | 13 | <div class="input-group d-flex flex-row-reverse justify-content-center"> |
60b0917c | 14 | <div class="input-group-addon"> |
b54b8ec3 | 15 | <select class="form-control mx-3" name="currency_code"> |
60b0917c MT |
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 | ||
b54b8ec3 | 36 | <button type="submit" class="btn btn-lg btn-primary mt-3">{{ _("Donate with PayPal") }}</button> |
60b0917c MT |
37 | </div> |
38 | </form> |