0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 16:02:51 +01:00

template: label fix correct input id (#30987) (#30997)

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>
This commit is contained in:
Giteabot 2024-05-16 21:45:52 +08:00 committed by GitHub
parent 3cdf9ed202
commit 835411b978
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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>