diff options
author | 6543 <6543@obermui.de> | 2021-01-10 13:14:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-10 14:14:02 +0200 |
commit | 6b3b6f1833d07383d24d68ec220a18315ac36809 (patch) | |
tree | aeceb687845f71a493b64c223297c0567d7f6bf5 /templates/admin/user | |
parent | d989247bb08d2b8eb144e7a0edeaedfc26d08175 (diff) | |
download | gitea-6b3b6f1833d07383d24d68ec220a18315ac36809.tar.gz gitea-6b3b6f1833d07383d24d68ec220a18315ac36809.zip |
Add option to change username to the admin panel (#14229)
Co-authored-by: Bwko <bouwko@gmail.com>
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/admin/user')
-rw-r--r-- | templates/admin/user/edit.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl index 9edf337f04..a07f3a1054 100644 --- a/templates/admin/user/edit.tmpl +++ b/templates/admin/user/edit.tmpl @@ -9,9 +9,9 @@ <div class="ui attached segment"> <form class="ui form" action="{{.Link}}" method="post"> {{.CsrfTokenHtml}} - <div class="inline field {{if .Err_UserName}}error{{end}}"> + <div class="field {{if .Err_UserName}}error{{end}}"> <label for="user_name">{{.i18n.Tr "username"}}</label> - <span>{{.User.Name}}</span> + <input id="user_name" name="user_name" value="{{.User.Name}}" autofocus {{if not .User.IsLocal }}disabled{{end}}> </div> <!-- Types and name --> <div class="inline required field {{if .Err_LoginType}}error{{end}}"> |