diff options
author | techknowlogick <matti@mdranta.net> | 2019-03-18 22:28:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-18 22:28:10 -0400 |
commit | d1c982cb731a0744e2a8e0863b46ff9e99c99b63 (patch) | |
tree | fd6dc3e432f90e3cc4a5e132ef97f94633ce3149 /templates/user/settings/profile.tmpl | |
parent | ba2f6a45c8ef44f74772456fc98c27faca058241 (diff) | |
download | gitea-d1c982cb731a0744e2a8e0863b46ff9e99c99b63.tar.gz gitea-d1c982cb731a0744e2a8e0863b46ff9e99c99b63.zip |
Add bio field for user (#6113)
Fix #4339
Diffstat (limited to 'templates/user/settings/profile.tmpl')
-rw-r--r-- | templates/user/settings/profile.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/user/settings/profile.tmpl b/templates/user/settings/profile.tmpl index 6a654fda70..995bdfd638 100644 --- a/templates/user/settings/profile.tmpl +++ b/templates/user/settings/profile.tmpl @@ -31,6 +31,10 @@ <input name="keep_email_private" type="checkbox" {{if .SignedUser.KeepEmailPrivate}}checked{{end}}> </div> </div> + <div class="field {{if .Err_Description}}error{{end}}"> + <label for="description">{{$.i18n.Tr "user.user_bio"}}</label> + <textarea id="description" name="description" rows="2">{{.SignedUser.Description}}</textarea> + </div> <div class="field {{if .Err_Website}}error{{end}}"> <label for="website">{{.i18n.Tr "settings.website"}}</label> <input id="website" name="website" type="url" value="{{.SignedUser.Website}}"> |