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/create.html | |
parent | d2de3ae10b6f5314bd4b8243218212d2004f35b0 (diff) |
More rework on routes. Best and worst matches. More visuals.
Diffstat (limited to 'templates/create.html')
-rw-r--r-- | templates/create.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/templates/create.html b/templates/create.html index b369ae8..21520b5 100644 --- a/templates/create.html +++ b/templates/create.html @@ -1,5 +1,8 @@ {% include 'base.html' %} +{% if nick %} + +{% if quiz_set %} <div id="questions" class="kysQuestions"> {% for q in questions %} @@ -26,4 +29,14 @@ </form> <div class="kysScale"> </div> -</div>
\ No newline at end of file +</div> + +{% else %} + +<form action="/set/quiz" method="POST"> +<input type="submit" value="Aloita uusi kyselmä"> +</form> + +{% endif %} + +{% endif %} |