summaryrefslogtreecommitdiff
path: root/templates/profile.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/profile.html')
-rw-r--r--templates/profile.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/profile.html b/templates/profile.html
new file mode 100644
index 0000000..f0f93d9
--- /dev/null
+++ b/templates/profile.html
@@ -0,0 +1,8 @@
+hellow
+{{ define "content" }}
+<form action="/rename" method="post" class="rename-form">
+ <label for="username">not your name? change it:</label>
+ <input id="username" name="username" value="{{ .User.Username }}" maxlength="24">
+ <button type="submit">rename</button>
+</form>
+{{ end }} \ No newline at end of file