Browse Source

fix #2101

pull/2110/head
Unknwon 9 years ago
parent
commit
4795fa01d8
  1. 4
      templates/user/settings/profile.tmpl

4
templates/user/settings/profile.tmpl

@ -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>

Loading…
Cancel
Save