From 087ebafdd87cc6513a8b8adec8d188b7096f9ab4 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 20 Oct 2024 21:15:36 +0100 Subject: bugfix: assign price of 0 to resource without Price object --- alphabetlearning/templates/resources/resource_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alphabetlearning/templates') diff --git a/alphabetlearning/templates/resources/resource_detail.html b/alphabetlearning/templates/resources/resource_detail.html index b92ba52..edbada1 100644 --- a/alphabetlearning/templates/resources/resource_detail.html +++ b/alphabetlearning/templates/resources/resource_detail.html @@ -35,7 +35,7 @@ {% endif %}
-

£1.50 (or 1 credit)

+

£{{ resource.price|floatformat:2 }} (or 1 credit)


-- cgit v1.2.3