fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Django 2.2
[wolnelektury.git]
/
src
/
paypal
/
templates
/
paypal
/
form.html
diff --git
a/src/paypal/templates/paypal/form.html
b/src/paypal/templates/paypal/form.html
index
de8382f
..
92a755a
100644
(file)
--- a/
src/paypal/templates/paypal/form.html
+++ b/
src/paypal/templates/paypal/form.html
@@
-1,18
+1,25
@@
{% extends "base/base.html" %}
{% load i18n %}
{% extends "base/base.html" %}
{% load i18n %}
+{% load chunks %}
+{% load static from static %}
-{% block title %}{% trans "
Subscription
" %}{% endblock %}
+{% block title %}{% trans "
Wolne Lektury Friend Club
" %}{% endblock %}
{% block body %}
{% block body %}
+ <div class="mobile-margins">
+ <h1>{% trans "Wolne Lektury Friend Club" %}</h1>
+ <p>Poniżej możesz ustawić comiesięczną płatność <strong>(co najmniej 5 zł)</strong>, aby dołączyć do Przyjaciół Wolnych Lektur.</p>
{# https://www.facebook.com/sharer/sharer.php?u=https%3A//wolnelektury.pl{% url 'paypal_form' %} #}
{% if user.is_authenticated %}
<form method="post">
{% csrf_token %}
{# https://www.facebook.com/sharer/sharer.php?u=https%3A//wolnelektury.pl{% url 'paypal_form' %} #}
{% if user.is_authenticated %}
<form method="post">
{% csrf_token %}
- {{ form.a
s_p
}}
+ {{ form.a
mount.label_tag }}{{ form.amount
}}
{# paypal submit button #}
{# paypal submit button #}
- <
button type="submit">{% trans "Subscribe with PayPal" %}</button
>
+ <
input type="image" src="{% static 'img/btn_subscribe_LG_pl.gif' %}" alt="{% trans "Subscribe with PayPal" %}" style="margin-left: 2em; vertical-align: bottom;"
>
</form>
{% else %}
{% trans "You must be logged in to subscribe." %}
{% endif %}
</form>
{% else %}
{% trans "You must be logged in to subscribe." %}
{% endif %}
-{% endblock %}
\ No newline at end of file
+ {% chunk "klub_info" %}
+ </div>
+{% endblock %}