minor changes in paypal
[wolnelektury.git] / src / paypal / templates / paypal / form.html
1 {% extends "base/base.html" %}
2 {% load i18n %}
3
4 {% block title %}{% trans "Subscription" %}{% endblock %}
5
6 {% block body %}
7   {# https://www.facebook.com/sharer/sharer.php?u=https%3A//wolnelektury.pl{% url 'paypal_form' %} #}
8   {% if user.is_authenticated %}
9     <form method="post">
10       {% csrf_token %}
11       {{ form.as_p }}
12       {# paypal submit button #}
13       <button type="submit">{% trans "Subscribe with PayPal" %}</button>
14     </form>
15   {% else %}
16     {% trans "You must be logged in to subscribe." %}
17   {% endif %}
18 {% endblock %}