From 29c5f303bb30ec10803c15a5ebc98054e0f56c35 Mon Sep 17 00:00:00 2001 From: John Nduli Date: Thu, 12 Sep 2024 15:06:16 +0300 Subject: fix: gnqa_answer but fix for missing html --- gn2/wqflask/templates/gnqa_answer.html | 44 ++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 21 deletions(-) (limited to 'gn2/wqflask/templates') diff --git a/gn2/wqflask/templates/gnqa_answer.html b/gn2/wqflask/templates/gnqa_answer.html index 91fa4981..e2e39956 100644 --- a/gn2/wqflask/templates/gnqa_answer.html +++ b/gn2/wqflask/templates/gnqa_answer.html @@ -1,7 +1,19 @@ +{% extends "base.html" %} + +{% block css %} + +{% endblock %} + +{% block content %} + - {{ query }} + {{ query }} {{ answer|safe }} @@ -20,32 +32,24 @@ title="Vote Down"> - - + - References + References {% if references %} {% for reference in references %} - + {% if loop.first %} - - - + + See PubMed Info - + {{ reference.pubmed[0].get("title") }}: @@ -90,8 +93,7 @@ {% else %} - + See PubMed Info - + {{ reference.pubmed[0].get("title") }}: @@ -154,6 +155,7 @@ +{% endblock %} {% block js %}
- {{ query }} + {{ query }} {{ answer|safe }}