mirror of
1
Fork 0

template: `label` fix correct input id

Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
(cherry picked from commit 208eed05ff)
This commit is contained in:
Frank Villaro-Dixon 2024-05-15 23:13:05 +02:00 committed by GitHub
parent 40b639d2a0
commit aefe770255
1 changed files with 1 additions and 1 deletions

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>