diff options
| author | green <dandelions@disroot.org> | 2026-03-17 19:16:31 +0100 |
|---|---|---|
| committer | green <dandelions@disroot.org> | 2026-03-17 19:16:31 +0100 |
| commit | 2ef105c98041f559f5a79650982c6d10d1a9358c (patch) | |
| tree | 3d635f6d7ca958cae99f0b462def696102ce0bc3 /html.c | |
| parent | f1bdb50d024198afe76c97aa4fc22d08c0fb86ce (diff) | |
fix: broken <label> tags in html_checkbox()
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1451,6 +1451,7 @@ xs_html *html_checkbox(const char *form_name, const char *label, int flag) xs_html_sctag("input", xs_html_attr("type", "checkbox"), xs_html_attr("name", form_name), + xs_html_attr("id", form_name), xs_html_attr(flag ? "checked" : "", NULL)), xs_html_tag("label", xs_html_attr("for", form_name), |