diff options
author | Bagas Sanjaya <bagasdotme@gmail.com> | 2020-09-10 21:29:26 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-10 15:29:26 +0100 |
commit | 4c42fce40175b735a689289bf61ca65a8e2266b2 (patch) | |
tree | ec58f144bd97ebca83dbccf2e56041c4a6e7bb59 /templates | |
parent | 7354efe702bdf777b5ec245b7d6bf5dc46be4b02 (diff) | |
download | gitea-4c42fce40175b735a689289bf61ca65a8e2266b2.tar.gz gitea-4c42fce40175b735a689289bf61ca65a8e2266b2.zip |
Add placeholder text for bio profile text form (#12792)
* Add placeholder text
* Localize
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/settings/profile.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/profile.tmpl b/templates/user/settings/profile.tmpl index b170c67579..1f34e24585 100644 --- a/templates/user/settings/profile.tmpl +++ b/templates/user/settings/profile.tmpl @@ -33,7 +33,7 @@ </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> + <textarea id="description" name="description" rows="2" placeholder="{{.i18n.Tr "settings.biography_placeholder"}}">{{.SignedUser.Description}}</textarea> </div> <div class="field {{if .Err_Website}}error{{end}}"> <label for="website">{{.i18n.Tr "settings.website"}}</label> |