]> code.octet-stream.net Git - broadcaster/blobdiff - server/templates/change_password.html
Simplify package names
[broadcaster] / server / templates / change_password.html
diff --git a/server/templates/change_password.html b/server/templates/change_password.html
new file mode 100644 (file)
index 0000000..bab3a82
--- /dev/null
@@ -0,0 +1,14 @@
+
+      <h1>Change Password</h1>
+      {{if ne .Message ""}}
+      <p><b>{{.Message}}</b></p>
+      {{end}}
+      {{if .ShowForm}}
+      <form action="/change-password" method="post">
+        <label for="oldPassword">Old Password:</label><br>
+        <input type="password" id="oldPassword" name="oldPassword"><br>
+        <label for="newPassword">New Password:</label><br>
+        <input type="password" id="newPassword" name="newPassword"><br>
+        <input type="submit" value="Change Password">
+      </form>
+      {{end}}