2016-12-02 15:03:31 +00:00
|
|
|
{{template "header.html" . }}
|
2017-01-03 07:47:31 +00:00
|
|
|
{{template "account-menu.html" . }}
|
2016-12-02 15:03:31 +00:00
|
|
|
<div class="colblock_right">
|
2017-02-28 09:27:28 +00:00
|
|
|
<div class="rowitem rowhead"><a>Edit Avatar</a></div>
|
2016-12-02 15:03:31 +00:00
|
|
|
</div>
|
2016-12-03 04:50:35 +00:00
|
|
|
{{ if .CurrentUser.Avatar }}
|
2016-12-02 15:03:31 +00:00
|
|
|
<div class="colblock_right">
|
|
|
|
<div class="rowitem"><img src="{{.CurrentUser.Avatar}}" height="128px" max-width="128px" /></div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
<div class="colblock_right">
|
|
|
|
<form action="/user/edit/avatar/submit/" method="post" enctype="multipart/form-data">
|
|
|
|
<div class="formrow">
|
|
|
|
<div class="formitem"><a>Upload Avatar</a></div>
|
|
|
|
<div class="formitem"><input name="account-avatar" type="file" /></div>
|
|
|
|
</div>
|
|
|
|
<div class="formrow">
|
|
|
|
<div class="formitem"><button name="account-button" class="formbutton">Update</div></div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{{template "footer.html" . }}
|