1 {% extends request.session.from_app|yesno:"base/app.html,base/base.html" %}
5 {% block titleextra %}Towarzystwo Wolnych Lektur{% endblock %}
11 .payment-method.disabled {
13 filter: grayscale(100%);
19 <div class="white-box normal-text">
21 <h1>{% if membership %}Odnów swoje członkostwo w Towarzystwie Przyjaciół Wolnych Lektur{% else %}Dołącz do Towarzystwa Przyjaciół Wolnych Lektur{% endif %}</h1>
23 {% chunk 'club_form_top' %}
25 <form method="POST" action="" id="payment-form" class="wlform">
28 <h2>Zadeklaruj, jak często i jaką kwotą chcesz nas wspierać:</h2>
30 <ul class="errorlist">
31 {% for e in form.non_field_errors %}
34 {% for e in form.plan.errors %}
37 {% for e in form.amount.errors %}
42 {% for plan in form.plans %}
45 <input class="plan" type="radio" name="plan" value="{{ plan.id }}" id="plan{{ plan.id }}" data-methods="{% for m in plan.payment_methods %}{{ m.slug }} {% endfor %}">
46 <label for="plan{{ plan.id }}">
48 name="amount-{{ plan.id }}"
50 placeholder="min. {{ plan.min_amount|floatformat:0 }}"
51 value="{{ plan.default_amount|floatformat:0 }}"
52 min="{{ plan.min_amount|floatformat:0 }}"
56 {{ plan.get_interval_display }}
62 <h2>Wybierz metodę płatności:</h2>
64 <ul class="errorlist">
65 {% for e in form.method.errors %}
70 {% for payment_method in form.payment_methods %}
71 <div class="payment-method" id="payment-method-{{ payment_method.slug }}">
72 <input type="radio" id="method{{ payment_method.slug }}" name="method" value="{{ payment_method.slug }}">
73 <label for="method{{ payment_method.slug }}">
74 {% include payment_method.template_name %}
80 Podaj nam swój adres e-mail, żebyśmy mogli się z Tobą skontaktować:
85 <button class="submit" type='submit'>Dołącz</button>
88 {% chunk 'club_form_bottom' %}