From 14774b3d923eb1a3fe98345a04e4993c25a67d88 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Tue, 7 May 2024 21:05:57 +0300 Subject: Use HTMX Js api to toggle upvote and downvote functionality. --- gn2/wqflask/templates/gnqa_answer.html | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'gn2/wqflask') diff --git a/gn2/wqflask/templates/gnqa_answer.html b/gn2/wqflask/templates/gnqa_answer.html index bde39329..0ddcfde7 100644 --- a/gn2/wqflask/templates/gnqa_answer.html +++ b/gn2/wqflask/templates/gnqa_answer.html @@ -5,11 +5,9 @@ {{ query }}
{{ answer }}

-
- - +
+ +
@@ -92,3 +90,23 @@
+{% block js %} + + +{% endblock %} -- cgit v1.2.3