summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-20 17:11:29 +0800
committerUnknwon <u@gogs.io>2015-08-20 17:11:29 +0800
commit062adbed8a8a9cb83cd172b5a6e232e75af89f2d (patch)
tree07a35a3c9dca8d1be54614b006b7c0487a9cdb62 /templates/repo/settings
parent9b01a3501b8c1897a9c02bf82dcc169a20b9a51f (diff)
downloadgitea-062adbed8a8a9cb83cd172b5a6e232e75af89f2d.tar.gz
gitea-062adbed8a8a9cb83cd172b5a6e232e75af89f2d.zip
add confirmation to delete ssh key
Diffstat (limited to 'templates/repo/settings')
-rw-r--r--templates/repo/settings/deploy_keys.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/settings/deploy_keys.tmpl b/templates/repo/settings/deploy_keys.tmpl
index 09f66b6b96..0574e9d800 100644
--- a/templates/repo/settings/deploy_keys.tmpl
+++ b/templates/repo/settings/deploy_keys.tmpl
@@ -53,12 +53,12 @@
<form class="ui form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
<div class="field {{if .Err_Title}}error{{end}}">
- <label>{{.i18n.Tr "repo.settings.title"}}</label>
- <input name="title" value="{{.title}}" autofocus required>
+ <label for="title">{{.i18n.Tr "repo.settings.title"}}</label>
+ <input id="title" name="title" value="{{.title}}" autofocus required>
</div>
<div class="field {{if .Err_Content}}error{{end}}">
- <label>{{.i18n.Tr "repo.settings.deploy_key_content"}}</label>
- <textarea name="content" required>{{.content}}</textarea>
+ <label for="content">{{.i18n.Tr "repo.settings.deploy_key_content"}}</label>
+ <textarea id="content" name="content" required>{{.content}}</textarea>
</div>
<button class="ui green button">
{{.i18n.Tr "repo.settings.add_deploy_key"}}