diff options
author | zeripath <art27@cantab.net> | 2021-04-21 21:19:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 16:19:32 -0400 |
commit | df416f24141000a5267c041b16e0413184b87b42 (patch) | |
tree | 5e994768f219249e7a98e58e0e3634fd0c4a2c58 /templates | |
parent | 1cd8d0ca0eede26b44a76a929f8aebac1be9a005 (diff) | |
download | gitea-df416f24141000a5267c041b16e0413184b87b42.tar.gz gitea-df416f24141000a5267c041b16e0413184b87b42.zip |
Add placeholder text to deploy key textarea (#15575)
* Add placeholder text to deploy key textarea
Related #15574
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update templates/repo/settings/deploy_keys.tmpl
* Update templates/repo/settings/deploy_keys.tmpl
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/settings/deploy_keys.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/deploy_keys.tmpl b/templates/repo/settings/deploy_keys.tmpl index 7dfc27c64f..d2e9e256d2 100644 --- a/templates/repo/settings/deploy_keys.tmpl +++ b/templates/repo/settings/deploy_keys.tmpl @@ -60,7 +60,7 @@ </div> <div class="field {{if .Err_Content}}error{{end}}"> <label for="content">{{.i18n.Tr "repo.settings.deploy_key_content"}}</label> - <textarea id="ssh-key-content" name="content" required>{{.content}}</textarea> + <textarea id="ssh-key-content" name="content" placeholder="{{.i18n.Tr "settings.key_content_ssh_placeholder"}}" required>{{.content}}</textarea> </div> <div class="field"> <div class="ui checkbox {{if .Err_IsWritable}}error{{end}}"> |