diff options
author | Unknwon <u@gogs.io> | 2015-08-20 17:11:29 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-20 17:11:29 +0800 |
commit | 062adbed8a8a9cb83cd172b5a6e232e75af89f2d (patch) | |
tree | 07a35a3c9dca8d1be54614b006b7c0487a9cdb62 /templates/repo/settings | |
parent | 9b01a3501b8c1897a9c02bf82dcc169a20b9a51f (diff) | |
download | gitea-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.tmpl | 8 |
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"}} |