Merge pull request 'template: label fix correct input id' (#3789) from Frankkkkk/forgejo:fvd/fix-label into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3789
Reviewed-by: Beowulf <beowulf@noreply.codeberg.org>
Reviewed-by: Mai-Lapyst <mai-lapyst@noreply.codeberg.org>
This commit is contained in:
Otto 2024-05-16 10:15:10 +00:00
commit c4d7045a24

View file

@ -28,7 +28,7 @@
<div class="field"> <div class="field">
<div class="ui checkbox {{if .Err_IsWritable}}error{{end}}"> <div class="ui checkbox {{if .Err_IsWritable}}error{{end}}">
<input id="ssh-key-is-writable" name="is_writable" type="checkbox" value="1"> <input id="ssh-key-is-writable" name="is_writable" type="checkbox" value="1">
<label for="is_writable"> <label for="ssh-key-is-writable">
{{ctx.Locale.Tr "repo.settings.is_writable"}} {{ctx.Locale.Tr "repo.settings.is_writable"}}
</label> </label>
<small class="tw-pl-[26px]">{{ctx.Locale.Tr "repo.settings.is_writable_info"}}</small> <small class="tw-pl-[26px]">{{ctx.Locale.Tr "repo.settings.is_writable_info"}}</small>