diff options
| author | 2026-03-17 19:16:31 +0100 | |
|---|---|---|
| committer | 2026-03-17 19:16:31 +0100 | |
| commit | 2ef105c98041f559f5a79650982c6d10d1a9358c (patch) | |
| tree | 3d635f6d7ca958cae99f0b462def696102ce0bc3 | |
| parent | Call ulimit -n to increase file descriptors in examples/snac_netbsd. (diff) | |
| download | snac2-2ef105c98041f559f5a79650982c6d10d1a9358c.tar.gz snac2-2ef105c98041f559f5a79650982c6d10d1a9358c.tar.xz snac2-2ef105c98041f559f5a79650982c6d10d1a9358c.zip | |
fix: broken <label> tags in html_checkbox()
| -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) | |||
| 1451 | xs_html_sctag("input", | 1451 | xs_html_sctag("input", |
| 1452 | xs_html_attr("type", "checkbox"), | 1452 | xs_html_attr("type", "checkbox"), |
| 1453 | xs_html_attr("name", form_name), | 1453 | xs_html_attr("name", form_name), |
| 1454 | xs_html_attr("id", form_name), | ||
| 1454 | xs_html_attr(flag ? "checked" : "", NULL)), | 1455 | xs_html_attr(flag ? "checked" : "", NULL)), |
| 1455 | xs_html_tag("label", | 1456 | xs_html_tag("label", |
| 1456 | xs_html_attr("for", form_name), | 1457 | xs_html_attr("for", form_name), |