|
|
|
@ -14,7 +14,7 @@
|
|
|
|
|
{{.CsrfTokenHtml}} |
|
|
|
|
<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 {{if not .SignedUser.IsLocal}}disabled{{end}}> |
|
|
|
|
<input id="username" name="name" value="{{.SignedUser.Name}}" data-name="{{.SignedUser.Name}}" autofocus required {{if not .SignedUser.IsLocal}}readonly{{end}}> |
|
|
|
|
{{if not .SignedUser.IsLocal}} |
|
|
|
|
<p class="help text blue">{{$.i18n.Tr "settings.password_username_disabled"}}</p> |
|
|
|
|
{{end}} |
|
|
|
|