mirror of
https://github.com/go-gitea/gitea
synced 2024-12-26 02:24:27 +00:00
Backport #15575 Add placeholder text to deploy key textarea Related #15574 Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
parent
248b67af6f
commit
a719311f6d
@ -60,7 +60,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="field {{if .Err_Content}}error{{end}}">
|
<div class="field {{if .Err_Content}}error{{end}}">
|
||||||
<label for="content">{{.i18n.Tr "repo.settings.deploy_key_content"}}</label>
|
<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>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="ui checkbox {{if .Err_IsWritable}}error{{end}}">
|
<div class="ui checkbox {{if .Err_IsWritable}}error{{end}}">
|
||||||
|
Loading…
Reference in New Issue
Block a user