mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-25 03:57:13 +08:00
fix: fill in ssh key title on setting of repo (#950)
* fix: fill in ssh key title on setting of repo * fix: Don't overwrite ssh key title if exist.
This commit is contained in:
committed by
Kim "BKC" Carlbäcker
parent
7fd14bf7bd
commit
4c12e2a4b9
@ -57,11 +57,11 @@
|
||||
</div>
|
||||
<div class="field {{if .Err_Title}}error{{end}}">
|
||||
<label for="title">{{.i18n.Tr "repo.settings.title"}}</label>
|
||||
<input id="title" name="title" value="{{.title}}" autofocus required>
|
||||
<input id="ssh-key-title" name="title" value="{{.title}}" autofocus required>
|
||||
</div>
|
||||
<div class="field {{if .Err_Content}}error{{end}}">
|
||||
<label for="content">{{.i18n.Tr "repo.settings.deploy_key_content"}}</label>
|
||||
<textarea id="content" name="content" required>{{.content}}</textarea>
|
||||
<textarea id="ssh-key-content" name="content" required>{{.content}}</textarea>
|
||||
</div>
|
||||
<button class="ui green button">
|
||||
{{.i18n.Tr "repo.settings.add_deploy_key"}}
|
||||
|
||||
Reference in New Issue
Block a user