diff options
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 %} |