]> code.octet-stream.net Git - broadcaster/blob - broadcaster-server/templates/change_password.html
431e2a4b6ab2be74f69e9e7348d61e244f89f791
[broadcaster] / broadcaster-server / templates / change_password.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>Broadcaster</title>
7 </head>
8 <body>
9 <main>
10 <h1>Change Password</h1>
11 {{if ne .Message ""}}
12 <p><b>{{.Message}}</b></p>
13 {{end}}
14 {{if .ShowForm}}
15 <form action="/change-password" method="post">
16 <label for="oldPassword">Old Password:</label><br>
17 <input type="password" id="oldPassword" name="oldPassword"><br>
18 <label for="newPassword">New Password:</label><br>
19 <input type="password" id="newPassword" name="newPassword"><br>
20 <input type="submit" value="Change Password">
21 </form>
22 {{end}}
23 </main>
24 </body>
25 </html>