aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/templates/resources/resource_detail.html
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-20 21:15:36 +0100
committerMatthew Lemon <y@yulqen.org>2024-10-20 21:15:36 +0100
commit087ebafdd87cc6513a8b8adec8d188b7096f9ab4 (patch)
tree5ba49cae878bb687eb716684e99f3c00b273a66e /alphabetlearning/templates/resources/resource_detail.html
parente063a30a06caef9e4cda7afb5ef175b1c04b5e96 (diff)
bugfix: assign price of 0 to resource without Price object
Diffstat (limited to 'alphabetlearning/templates/resources/resource_detail.html')
-rw-r--r--alphabetlearning/templates/resources/resource_detail.html2
1 files changed, 1 insertions, 1 deletions
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 %}
</div>
<div class="col">
- <p class="fs-3 fw-semibold">£1.50 (or 1 credit)</p>
+ <p class="fs-3 fw-semibold">£{{ resource.price|floatformat:2 }} (or 1 credit)</p>
</div>
<hr>