summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJames <james@jamesanderson.me>2015-04-28 11:59:05 -0400
committerJames <james@jamesanderson.me>2015-04-28 11:59:05 -0400
commitf3aab5dbe30f8e6a1032b524315f7fd37c3e0b24 (patch)
treee4b5b8f196b97203dfccf663b310cd43d7e8eadb /templates
parent2c4fb6e6469f756dfaeb276302bac87e4dac3e1e (diff)
downloadgitea-f3aab5dbe30f8e6a1032b524315f7fd37c3e0b24.tar.gz
gitea-f3aab5dbe30f8e6a1032b524315f7fd37c3e0b24.zip
Add full name field to admin's user edit page (fixes #1130)
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/user/edit.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl
index bdc0e3343f..4f4cc727ab 100644
--- a/templates/admin/user/edit.tmpl
+++ b/templates/admin/user/edit.tmpl
@@ -33,6 +33,10 @@
<label class="text-left">{{.User.Name}}</label>
</div>
<div class="field">
+ <label for="full-name">{{.i18n.Tr "settings.full_name"}}</label>
+ <input class="ipt ipt-large ipt-radius {{if .Err_FullName}}ipt-error{{end}}" id="full-name" name="fullname" type="text" value="{{.User.FullName}}" />
+ </div>
+ <div class="field">
<label class="req" for="email">{{.i18n.Tr "email"}}</label>
<input class="ipt ipt-large ipt-radius {{if .Err_Email}}ipt-error{{end}}" id="email" name="email" type="email" value="{{.User.Email}}" required/>
</div>