gosora/templates/account-own-edit-username.html
Azareal 8d0479f4b2 Renamed setting.go to settings.go
Added the BypassGet method to SettingMap and refactored the Control Panel to use it.
Refactored the query builder.

More work on Cosora.
2017-11-13 09:23:43 +00:00

26 lines
942 B
HTML

{{template "header.html" . }}
<main class="colstack account">
{{template "account-menu.html" . }}
<div class="colstack_right">
<div class="colstack_item colstack_head rowhead">
<div class="rowitem"><h1>Edit Username</h1></div>
</div>
<div class="colstack_item form_item">
<form action="/user/edit/username/submit/" method="post">
<div class="formrow real_first_child">
<div class="formitem formlabel"><a>Current Username</a></div>
<div class="formitem formlabel">{{.CurrentUser.Name}}</div>
</div>
<div class="formrow">
<div class="formitem formlabel"><a>New Username</a></div>
<div class="formitem"><input name="account-new-username" type="text" required /></div>
</div>
<div class="formrow">
<div class="formitem"><button name="account-button" class="formbutton form_middle_button">Update</button></div>
</div>
</form>
</div>
</div>
</main>
{{template "footer.html" . }}