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