mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 03:07:55 +01:00
fix #2101
This commit is contained in:
parent
942fd6be53
commit
4795fa01d8
@ -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…
Reference in New Issue
Block a user