]> source.dussan.org Git - gitea.git/commitdiff
template: `label` fix correct input id (#30987) (#30997)
authorGiteabot <teabot@gitea.io>
Thu, 16 May 2024 13:45:52 +0000 (21:45 +0800)
committerGitHub <noreply@github.com>
Thu, 16 May 2024 13:45:52 +0000 (08:45 -0500)
Just a small commit to fix a wrong label for id.
Thanks and cheers!

Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
Co-authored-by: Frank Villaro-Dixon <frank@vi-di.fr>
templates/repo/settings/deploy_keys.tmpl

index da1a3217852b1955bfd8dadeed42e35a68e15d10..190ca1af6ce4bc49ace13cc0ede7e4433bf83a98 100644 (file)
@@ -28,7 +28,7 @@
                                        <div class="field">
                                                <div class="ui checkbox {{if .Err_IsWritable}}error{{end}}">
                                                        <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"}}
                                                        </label>
                                                        <small class="tw-pl-[26px]">{{ctx.Locale.Tr "repo.settings.is_writable_info"}}</small>