summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2020-09-10 21:29:26 +0700
committerGitHub <noreply@github.com>2020-09-10 15:29:26 +0100
commit4c42fce40175b735a689289bf61ca65a8e2266b2 (patch)
treeec58f144bd97ebca83dbccf2e56041c4a6e7bb59 /templates
parent7354efe702bdf777b5ec245b7d6bf5dc46be4b02 (diff)
downloadgitea-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.tmpl2
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>