diff --git a/src/purchase/templates/purchase/basket_form.html b/src/purchase/templates/purchase/basket_form.html index ad72b4d..b84ef77 100644 --- a/src/purchase/templates/purchase/basket_form.html +++ b/src/purchase/templates/purchase/basket_form.html @@ -2,6 +2,9 @@ {% load crispy_forms_tags purchase %} {% block content %} {% if object %} + {% if not object.payment_method %} + + {% endif %}

{{ object }}

{{ object.created_at }}

{% else %} diff --git a/src/purchase/templates/purchase/basket_list.html b/src/purchase/templates/purchase/basket_list.html index 042d1ea..dd84f8d 100644 --- a/src/purchase/templates/purchase/basket_list.html +++ b/src/purchase/templates/purchase/basket_list.html @@ -5,7 +5,7 @@
{% for basket in baskets %}
-
+
Basket #{{ basket.id }}