tokarchuk/v1.17
Unknwon 9 years ago
parent 942fd6be53
commit 4795fa01d8
  1. 4
      templates/user/settings/profile.tmpl

@ -12,10 +12,6 @@
<p>{{.i18n.Tr "settings.profile_desc"}}</p> <p>{{.i18n.Tr "settings.profile_desc"}}</p>
<form class="ui form" action="{{.Link}}" method="post"> <form class="ui form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}} {{.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}}"> <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> <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> <input id="username" name="name" value="{{.SignedUser.Name}}" data-name="{{.SignedUser.Name}}" autofocus required>

Loading…
Cancel
Save