1 {% extends "base.html" %}
2 {% load url from future %}
3 {% load funding_tags %}
4 {% load uni_form_tags %}
6 {% block titleextra %}{{ object }}{% endblock %}
11 <div class="white-box normal-text">
15 {% if object.state == 'running' %}
19 <form action="" method="post">
21 {{ form|as_uni_form }}
23 {% for perk in object.get_perks %}
24 <br/><label><input type="radio" name="amount" value="{{ perk.price }}" /> {{perk.price}} zł: {{perk.name}}</label>
26 <br/><label><input type="radio" name="amount" value="" /> Dowolną kwotę:</label>
27 <input name="amount" size="5" /> zł
30 <br/><button type="submit">Wpłać!</button>
34 <p><a href="{% url 'funding' %}">Zobacz wszystkie zbiórki.</a></p>
38 <h2 style="font-size: 3em; margin: 1em 0 .5em;">Wpłaty:</h2>
40 <div class="white-box normal-text">
44 {% for funding in object.funding_set.all %}
45 <li>{{ funding.name }}: <strong>{{ funding.amount }} zł</strong></li>