This commit is contained in:
Unknwon 2015-12-04 17:30:32 -05:00
parent 942fd6be53
commit 4795fa01d8

View File

@ -12,10 +12,6 @@
<p>{{.i18n.Tr "settings.profile_desc"}}</p>
<form class="ui form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
<div class="inline field">
<label>{{.i18n.Tr "settings.uid"}}</label>
<span>{{.SignedUser.Id}}</span>
</div>
<div class="required field {{if .Err_Name}}error{{end}}">
<label for="username">{{.i18n.Tr "username"}}<span class="text red hide" id="name-change-prompt"> {{.i18n.Tr "settings.change_username_prompt"}}</span></label>
<input id="username" name="name" value="{{.SignedUser.Name}}" data-name="{{.SignedUser.Name}}" autofocus required>