1 {% extends request.session.from_app|yesno:"base/app.html,base/base.html" %}
4 {% block titleextra %}Towarzystwo Wolnych Lektur{% endblock %}
10 .payment-method.disabled {
12 filter: grayscale(100%);
18 <div class="white-box normal-text">
20 <h1>{% if membership %}Odnów swoje członkostwo w Towarzystwie Wolnych Lektur{% else %}Dołącz do Towarzystwa Wolnych Lektur{% endif %}</h1>
22 <form method="POST" action="" id="payment-form" class="wlform">
27 <ul class="errorlist">
28 {% for e in form.non_field_errors %}
31 {% for e in form.plan.errors %}
34 {% for e in form.amount.errors %}
39 {% for plan in form.plans %}
42 <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 %}">
43 <label for="plan{{ plan.id }}">
45 name="amount-{{ plan.id }}"
47 placeholder="min. {{ plan.min_amount|floatformat:0 }}"
48 value="{{ plan.default_amount|floatformat:0 }}"
49 min="{{ plan.min_amount|floatformat:0 }}"
53 {{ plan.get_interval_display }}
59 <h2>Metoda płatności</h2>
61 <ul class="errorlist">
62 {% for e in form.method.errors %}
67 {% for payment_method in form.payment_methods %}
68 <div class="payment-method" id="payment-method-{{ payment_method.slug }}">
69 <input type="radio" id="method{{ payment_method.slug }}" name="method" value="{{ payment_method.slug }}">
70 <label for="method{{ payment_method.slug }}" style="display:inline-block">
71 {% include payment_method.template_name %}
76 <p style="margin-top: 2em;">
77 {{ form.email.label }}:
79 <button class="submit" type='submit'>Dołącz</button>