Updated and fixes.
[wolnelektury.git] / src / catalogue / templates / catalogue / book_wide.html
index 84eb9dd..9413ee7 100644 (file)
@@ -25,8 +25,6 @@
   <p class="book-box-tools book-box-tools-warn">
     {% chunk "book-preview-warn" %}
   </p>
-
-  {% include "club/payment_info.html" %}
 {% endblock %}
 
 
 
     {% if book|status:request.user == 'closed' %}
       {% with form=club_form %}
-        <form method="POST" action="/towarzystwo/" id="payment-form" class="wlform">
+        <form method="POST" action="{% url 'club_join' %}" id="payment-form" class="wlform">
           {% csrf_token %}
           {% include "club/payment_form.html" %}
           {% chunk 'club_form_bottom' %}
         </form>
       {% endwith %}
+
+      {% include "club/payment_info.html" %}
     {% endif %}
 
+
   </div>
 {% endblock %}