diff options
author | Lilian Teronen <lteronen@local> | 2023-11-27 01:37:03 +0200 |
---|---|---|
committer | Lilian Teronen <lteronen@local> | 2023-11-27 01:37:03 +0200 |
commit | 03b031ea793e91ce2f87cf28c73cefc8ce69a7b5 (patch) | |
tree | 882919559651e1b18904404ccc7c5106d167f1fd /templates/answer.html | |
parent | d2de3ae10b6f5314bd4b8243218212d2004f35b0 (diff) |
More rework on routes. Best and worst matches. More visuals.
Diffstat (limited to 'templates/answer.html')
-rw-r--r-- | templates/answer.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/answer.html b/templates/answer.html index eb49ff8..6231785 100644 --- a/templates/answer.html +++ b/templates/answer.html @@ -1,4 +1,7 @@ {% include 'base.html' %} +{% if nick %} + +{% if link %} Vastaa kyselmään "{{ link }}": @@ -19,3 +22,16 @@ Vastaa kyselmään "{{ link }}": </div> </form> +{% else %} + +<form action="/set/answer_id" method="POST"> +Vastaa kyselyyn koodilla: +<input type="text" name="link"> +<input type="text" name="caller" value="answer" hidden="true"> +<input type="submit" value="Kyselmään"> +</form> + +{% endif %} + + +{% endif %} |