Skip to content

Commit 4f0bb3a

Browse files
committed
fix: fill in ssh key title on setting of repo
1 parent a31f64d commit 4f0bb3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/settings/deploy_keys.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@
5757
</div>
5858
<div class="field {{if .Err_Title}}error{{end}}">
5959
<label for="title">{{.i18n.Tr "repo.settings.title"}}</label>
60-
<input id="title" name="title" value="{{.title}}" autofocus required>
60+
<input id="ssh-key-title" name="title" value="{{.title}}" autofocus required>
6161
</div>
6262
<div class="field {{if .Err_Content}}error{{end}}">
6363
<label for="content">{{.i18n.Tr "repo.settings.deploy_key_content"}}</label>
64-
<textarea id="content" name="content" required>{{.content}}</textarea>
64+
<textarea id="ssh-key-content" name="content" required>{{.content}}</textarea>
6565
</div>
6666
<button class="ui green button">
6767
{{.i18n.Tr "repo.settings.add_deploy_key"}}

0 commit comments

Comments
 (0)