add 'go back' buttons
This commit is contained in:
parent
f3fa09e25f
commit
e1ea41b6d1
@ -15,9 +15,11 @@ def get_questions():
|
|||||||
|
|
||||||
|
|
||||||
results = db.session.execute(
|
results = db.session.execute(
|
||||||
select(QuestionType, Locale)
|
select(QuestionType, Text)
|
||||||
|
.select_from(QuestionType)
|
||||||
.join(Locale)
|
.join(Locale)
|
||||||
.filter(Locale.LANG==lang)
|
.join(Text)
|
||||||
|
.filter(Text.LANG==lang)
|
||||||
.order_by(QuestionType.QUESTION_TYPE_ID)
|
.order_by(QuestionType.QUESTION_TYPE_ID)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
<a href="/admin"> go Back </a> <br>
|
@ -0,0 +1 @@
|
|||||||
|
<a href="/admin"> go Back </a> <br>
|
@ -1,3 +1,5 @@
|
|||||||
|
<a href="/admin"> go Back </a> <br>
|
||||||
|
|
||||||
<select id="langs" onchange="langChangedEvent()">
|
<select id="langs" onchange="langChangedEvent()">
|
||||||
{%for lang in langs%}
|
{%for lang in langs%}
|
||||||
<option value="{{lang}}">{{lang}}</option>
|
<option value="{{lang}}">{{lang}}</option>
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
<a href="/admin"> go Back </a> <br>
|
Loading…
Reference in New Issue
Block a user