all repos — honk @ 435c71554cf36ea2a41e6b111bdc7a810e5b170b

my fork of honk

views/account.html (view raw)

 1{{ template "header.html" . }}
 2<main>
 3<div class="info">
 4<p>account
 5<p><a href="/logout?CSRF={{ .LogoutCSRF }}">logout</a></p>
 6<div>
 7<form id="aboutform" action="/saveuser" method="POST">
 8<p>about
 9<input type="hidden" name="CSRF" value="{{ .UserCSRF }}">
10<p><textarea name="whatabout">{{ .WhatAbout }}</textarea>
11<p><input type="submit" value="update">
12</form>
13</div>
14<div>
15<form action="/chpass" method="POST">
16<input type="hidden" name="CSRF" value="{{ .LogoutCSRF }}">
17<p>change password
18<p><input tabindex=1 type="password" name="oldpass"> - oldpass
19<p><input tabindex=1 type="password" name="newpass"> - newpass
20<p><input type="submit" value="update">
21</form>
22</div>
23</main>