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 18
18
{{ctx.Locale.Tr "repo.settings.deploy_key_desc"}}
19
19
</div>
20
20
<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>
22
22
<input id="ssh-key-title" name="title" value="{{.title}}" autofocus required>
23
23
</div>
24
24
<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>
26
26
<textarea id="ssh-key-content" name="content" placeholder="{{ctx.Locale.Tr "settings.key_content_ssh_placeholder"}}" required>{{.content}}</textarea>
27
27
</div>
28
28
<div class="field">
Original file line number Diff line number Diff line change 10
10
{{.CsrfTokenHtml}}
11
11
<input type="hidden" name="title" value="none">
12
12
<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>
14
14
<textarea id="gpg-key-content" name="content" placeholder="{{ctx.Locale.Tr "settings.key_content_gpg_placeholder"}}" required>{{.content}}</textarea>
15
15
</div>
16
16
{{if .Err_Signature}}
26
26
</div>
27
27
</div>
28
28
<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>
30
30
<textarea id="gpg-key-signature" name="signature" placeholder="{{ctx.Locale.Tr "settings.key_signature_gpg_placeholder"}}" required>{{.signature}}</textarea>
31
31
</div>
32
32
{{end}}
Original file line number Diff line number Diff line change 44
44
<form class="ui form" action="{{.Link}}" method="post">
45
45
{{.CsrfTokenHtml}}
46
46
<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>
48
48
<input id="ssh-principal-content" name="content" value="{{.content}}" autofocus required>
49
49
</div>
50
50
<input name="title" type="hidden" value="principal">
Original file line number Diff line number Diff line change 11
11
<form class="ui form" action="{{.Link}}" method="post">
12
12
{{.CsrfTokenHtml}}
13
13
<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>
15
15
<input id="ssh-key-title" name="title" value="{{.title}}" autofocus required maxlength="50">
16
16
</div>
17
17
<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>
19
19
<textarea id="ssh-key-content" name="content" class="js-quick-submit" placeholder="{{ctx.Locale.Tr "settings.key_content_ssh_placeholder"}}" required>{{.content}}</textarea>
20
20
</div>
21
21
<input name="type" type="hidden" value="ssh">
You can’t perform that action at this time.
0 commit comments