diff options
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) | |||
| 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), |