File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1818 {{ctx.Locale.Tr "repo.settings.deploy_key_desc"}}
1919 </div>
2020 <div class="field {{if .Err_Title}}error{{end}}">
21- <label for="title">{{ctx.Locale.Tr "repo.settings.title"}}</label>
21+ <label for="ssh-key- title">{{ctx.Locale.Tr "repo.settings.title"}}</label>
2222 <input id="ssh-key-title" name="title" value="{{.title}}" autofocus required>
2323 </div>
2424 <div class="field {{if .Err_Content}}error{{end}}">
25- <label for="content">{{ctx.Locale.Tr "repo.settings.deploy_key_content"}}</label>
25+ <label for="ssh-key- content">{{ctx.Locale.Tr "repo.settings.deploy_key_content"}}</label>
2626 <textarea id="ssh-key-content" name="content" placeholder="{{ctx.Locale.Tr "settings.key_content_ssh_placeholder"}}" required>{{.content}}</textarea>
2727 </div>
2828 <div class="field">
Original file line number Diff line number Diff line change 1010 {{.CsrfTokenHtml}}
1111 <input type="hidden" name="title" value="none">
1212 <div class="field {{if .Err_Content}}error{{end}}">
13- <label for="content">{{ctx.Locale.Tr "settings.key_content"}}</label>
13+ <label for="gpg-key- content">{{ctx.Locale.Tr "settings.key_content"}}</label>
1414 <textarea id="gpg-key-content" name="content" placeholder="{{ctx.Locale.Tr "settings.key_content_gpg_placeholder"}}" required>{{.content}}</textarea>
1515 </div>
1616 {{if .Err_Signature}}
2626 </div>
2727 </div>
2828 <div class="field">
29- <label for="signature">{{ctx.Locale.Tr "settings.gpg_token_signature"}}</label>
29+ <label for="gpg-key- signature">{{ctx.Locale.Tr "settings.gpg_token_signature"}}</label>
3030 <textarea id="gpg-key-signature" name="signature" placeholder="{{ctx.Locale.Tr "settings.key_signature_gpg_placeholder"}}" required>{{.signature}}</textarea>
3131 </div>
3232 {{end}}
Original file line number Diff line number Diff line change 4444 <form class="ui form" action="{{.Link}}" method="post">
4545 {{.CsrfTokenHtml}}
4646 <div class="field {{if .Err_Content}}error{{end}}">
47- <label for="content">{{ctx.Locale.Tr "settings.principal_content"}}</label>
47+ <label for="ssh-principal- content">{{ctx.Locale.Tr "settings.principal_content"}}</label>
4848 <input id="ssh-principal-content" name="content" value="{{.content}}" autofocus required>
4949 </div>
5050 <input name="title" type="hidden" value="principal">
Original file line number Diff line number Diff line change 1111 <form class="ui form" action="{{.Link}}" method="post">
1212 {{.CsrfTokenHtml}}
1313 <div class="field {{if .Err_Title}}error{{end}}">
14- <label for="title">{{ctx.Locale.Tr "settings.key_name"}}</label>
14+ <label for="ssh-key- title">{{ctx.Locale.Tr "settings.key_name"}}</label>
1515 <input id="ssh-key-title" name="title" value="{{.title}}" autofocus required maxlength="50">
1616 </div>
1717 <div class="field {{if .Err_Content}}error{{end}}">
18- <label for="content">{{ctx.Locale.Tr "settings.key_content"}}</label>
18+ <label for="ssh-key- content">{{ctx.Locale.Tr "settings.key_content"}}</label>
1919 <textarea id="ssh-key-content" name="content" class="js-quick-submit" placeholder="{{ctx.Locale.Tr "settings.key_content_ssh_placeholder"}}" required>{{.content}}</textarea>
2020 </div>
2121 <input name="type" type="hidden" value="ssh">
You can’t perform that action at this time.
0 commit comments