diff options
author | Arvid Koskinen <akoskine@local> | 2023-12-03 11:34:39 +0200 |
---|---|---|
committer | Arvid Koskinen <akoskine@local> | 2023-12-03 11:34:39 +0200 |
commit | 14365bb113400e576157be9da384c7bf0d80255c (patch) | |
tree | 466ff1def0d5c07baa13dcb40504b5fc456d6683 /templates | |
parent | 23518a49f95837199036e07deb4a97cad9e871bd (diff) |
Move DB stuff inside a class for further refactoring.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/question.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/question.html b/templates/question.html index 76cba79..451fb32 100644 --- a/templates/question.html +++ b/templates/question.html @@ -1,4 +1,7 @@ {% include 'base.html' %} + +{% if nick %} + <form action="/set/question" method="POST"> <div class="kysQuestion"> <div class="kysCreateText">Kysymys:</div> @@ -16,3 +19,5 @@ <input type="submit" value="Lisää kysymys"> </div> </form> + +{% endif %} |