mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 22:23:50 +03:00
Fix label for
pointing to a name
instead of id
in webhook settings (#29209)
Here's the spec for the `for` attribute: https://html.spec.whatwg.org/multipage/forms.html#attr-label-for Signed-off-by: Yarden Shoham <git@yardenshoham.com> (cherry picked from commit 0157db84b13203877c098a258abeb387d59f3486)
This commit is contained in:
parent
a46fa02d5b
commit
f9c931d858
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@
|
|||
<!-- Branch filter -->
|
||||
<div class="field">
|
||||
<label for="branch_filter">{{ctx.Locale.Tr "repo.settings.branch_filter"}}</label>
|
||||
<input name="branch_filter" type="text" value="{{or .Webhook.BranchFilter "*"}}">
|
||||
<input id="branch_filter" name="branch_filter" type="text" value="{{or .Webhook.BranchFilter "*"}}">
|
||||
<span class="help">{{ctx.Locale.Tr "repo.settings.branch_filter_desc" | Str2html}}</span>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue