summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index 839cc88..f38eb12 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,6 +1,14 @@
{% if nick %}
<div class="kysNick">{{ nick }}</div>
+{% else %}
+<form action="/set/nick" method="POST">
+Anna itsellesi nimimerkki ensin:
+<input type="text" name="nick">
+<input type="text" name="caller" value="{{ caller }}" hidden="true">
+<input type="submit" value="Lähetä">
+</form>
{% endif %}
+
{% if alert %}
<div class="kysAlert">{{ alert }}</div>
<script src="alert-timeout.js"></script>