3 <form method="post" action="{% url 'club_join' %}">
6 <input type="radio" name="switch" id="switch-once" value="single" class="toggle-input" {% if schedule and not schedule.monthly %}checked{% endif %}>
7 <input type="radio" name="switch" id="switch-monthly" value="monthly" class="toggle-input" {% if not schedule or schedule.monthly %}checked{% endif %}>
8 <div class="l-switch__wrapper">
10 <span data-edit="club/club/{{ club.pk }}"></span>
13 <div class="l-switch white">
14 <label class='toggle-for' for="switch-once">Jednorazowo</label>
15 <label class='toggle-for' for="switch-monthly">Miesięcznie</label>
16 <span class="toggle"></span>
20 <div class="l-checkout__payments payments-once">
21 {% for amount in club.singleamount_set.all %}
22 <div class="l-checkout__payments__box once{% if not schedule.monthly and schedule.amount == amount.amount or not schedule and club.default_single_amount == amount.amount %} is-active{% endif %}{% if forloop.last %} l-checkout__payments__box--xl{% endif %}">
24 <h3>{{ amount.amount }} zł</h3>
25 <div class="l-checkout__payments__box__btn-wrp">
26 <button name="single_amount" value="{{ amount.amount }}">Wybierz</button>
29 {% if amount.description %}
31 <p>{{ amount.description|safe }}</p>
37 name="single_amount_selected"
38 value="{% if schedule and not schedule.monthly %}{{ schedule.amount|floatformat }}{% else %}{{ club.default_single_amount }}{% endif %}">
43 <div class="l-checkout__payments payments-recurring">
44 {% for amount in club.monthlyamount_set.all %}
45 <div class="l-checkout__payments__box{% if schedule.monthly and schedule.amount == amount.amount or not schedule and amount.amount == club.default_monthly_amount %} is-active{% endif %}">
46 <h3>{{ amount.amount }} zł <span>/mies.</span></h3>
47 <div class="l-checkout__payments__box__btn-wrp">
48 <p>{{ amount.description|safe }}</p>
49 <button name="monthly_amount" value="{{ amount.amount }}">Wybierz</button>
54 name="monthly_amount_selected"
55 value="{% if schedule and schedule.monthly %}{{ schedule.amount|floatformat }}{% else %}{{ club.default_monthly_amount }}{% endif %}">
58 <div class="l-checkout__amount">
59 <div class="l-checkout__input">
60 <label for="kwota">Inna kwota</label>
61 <!-- input type="text" id="kwota" name="custom_amount" value="" -->
62 {{ form.custom_amount }}
64 <button>Dalej</button>
68 <img src="{% static '2022/images/checkout-footer.png' %}" alt="Bezpieczne płatności zapewniają" class="l-checkout__footer__img">
69 <div class="l-checkout__cols bt-w">
70 <div class="l-checkout__col full">
71 <div class="l-checkout__form">
72 <div class="l-checkout__form__row full">
73 <h3>Dane do przelewu tradycyjnego:</h3>
74 <div class="l-checkout__info">
75 <div class="l-checkout__info__item">
76 <div>nazwa odbiorcy</div>
77 <h3>Fundacja Nowoczesna Polska</h3>
78 <button title="Kopiuj tekst" class="js-copy">
79 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
81 <input type="text" value="Fundacja Nowoczesna Polska">
83 <div class="l-checkout__info__item">
84 <div>adres odbiorcy</div>
85 <h3>ul. Marszałkowska 84/92 lok. 125, 00-514 Warszawa</h3>
86 <button title="Kopiuj tekst" class="js-copy">
87 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
89 <input type="text" value="ul. Marszałkowska 84/92 lok. 125, 00-514 Warszawa">
91 <div class="l-checkout__info__item">
92 <div>numer konta</div>
93 <h3>75 1090 2851 0000 0001 4324 3317</h3>
94 <button title="Kopiuj tekst" class="js-copy">
95 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
97 <input type="text" value="75 1090 2851 0000 0001 4324 3317">
99 <div class="l-checkout__info__item">
100 <div>tytuł przelewu</div>
101 <h3>Darowizna na Wolne Lektury + twoja nazwa użytkownika lub e-mail</h3>
102 <button title="Kopiuj tekst" class="js-copy">
103 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
105 <input type="text" value="Darowizna na Wolne Lektury + twoja nazwa użytkownika lub e-mail">
107 <div class="l-checkout__info__item">
108 <div>wpłaty w EUR</div>
109 <h3>PL88 1090 2851 0000 0001 4324 3374</h3>
110 <button title="Kopiuj tekst" class="js-copy">
111 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
113 <input type="text" value="PL88 1090 2851 0000 0001 4324 3374">
115 <div class="l-checkout__info__item">
116 <div>Wpłaty w USD</div>
117 <h3>PL82 1090 2851 0000 0001 4324 3385</h3>
118 <button title="Kopiuj tekst" class="js-copy">
119 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
121 <input type="text" value="PL88 1090 2851 0000 0001 4324 3374">
123 <div class="l-checkout__info__item">
126 <button title="Kopiuj tekst" class="js-copy">
127 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
129 <input type="text" value="WBKPPLPP">