summaryrefslogtreecommitdiff
path: root/templates/question.html
diff options
context:
space:
mode:
authorOlli Vilén <oviln@local>2023-11-16 22:11:46 +0200
committerOlli Vilén <oviln@local>2023-11-16 22:11:46 +0200
commit0ed244ef2dd27a835ec12fdbc93a1f20bbcd89eb (patch)
treeba673352e44f2e1e55b8dc762b45a9cd769376e3 /templates/question.html
parent93a927b130ba09cea29aba2077848f785ac48844 (diff)
More db actions and forms.
Diffstat (limited to 'templates/question.html')
-rw-r--r--templates/question.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/question.html b/templates/question.html
new file mode 100644
index 0000000..90d3abc
--- /dev/null
+++ b/templates/question.html
@@ -0,0 +1,9 @@
+<div id="alertbox">{{ alert }}</div>
+<form action="/new_question" method="POST">
+Kysymys:<input type="text" name="question" rows="1" cols="120"><br>
+<input type="text" name="neg_ans" rows="1" cols="40"> : valinnat :
+<input type="text" name="pos_ans" rows="1" cols="40"><br>
+<input type="range" min="-1000" max="1000" value="0"
+ class="slider" name="answer" class="answerSlider"><br>
+<input type="submit" value="Lähetä">
+</form>