mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 22:23:50 +03:00
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
This commit is contained in:
parent
1cd8d0ca0e
commit
df416f2414
1 changed files with 1 additions and 1 deletions
|
@ -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}}">
|
||||
|
|
Loading…
Reference in a new issue