Cleanup
[wolnelektury.git] / src / club / templates / club / schedule.html
index 9505cdd..7547598 100644 (file)
@@ -1,4 +1,4 @@
-{% extends "base/base.html" %}
+{% extends "base_simple.html" %}
 {% load i18n %}
 
 
@@ -6,12 +6,12 @@
 
 
 {% block body %}
-<div class="white-box normal-text">
 
   <h1>
     Cieszymy się, że jesteś z nami! Dziękujemy za wsparcie!
   </h1>
-  <p>
+  <div class="white-box normal-text">
+    <p>
 
 
     {% if schedule.payed_at %}
       </button>
     </form>
 
+    {% if schedule.get_payment_method.cancellable %}
+      <br>
+      <form class="wlform" method='post' action="{% url 'club_cancel' schedule.key %}">
+        {% csrf_token %}
+       <button type="submit" class="submit" style="font-size: .9em">Zrezygnuj z kolejnych płatności</button>
+      </form>
+    {% endif %}
+
 
  {% else %}
   {% if not schedule.payed_at %}