diff options
| author | 2024-10-19 09:08:10 +0200 | |
|---|---|---|
| committer | 2024-10-19 09:08:10 +0200 | |
| commit | c30036f8c3d145a9fa16db42029675e22f09e687 (patch) | |
| tree | 64c869c83476f7a9559f4deb7815c3e23111226b /html.c | |
| parent | Updated TODO. (diff) | |
| download | snac2-c30036f8c3d145a9fa16db42029675e22f09e687.tar.gz snac2-c30036f8c3d145a9fa16db42029675e22f09e687.tar.xz snac2-c30036f8c3d145a9fa16db42029675e22f09e687.zip | |
Fixed Draft: label title.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 13 |
1 files changed, 7 insertions, 6 deletions
| @@ -361,12 +361,13 @@ xs_html *html_note(snac *user, const char *summary, | |||
| 361 | 361 | ||
| 362 | xs_html_add(form, | 362 | xs_html_add(form, |
| 363 | xs_html_tag("p", NULL), | 363 | xs_html_tag("p", NULL), |
| 364 | xs_html_attr("title", L("Don't send, but store as a draft")), | 364 | xs_html_tag("span", |
| 365 | xs_html_text(L("Draft:")), | 365 | xs_html_attr("title", L("Don't send, but store as a draft")), |
| 366 | xs_html_sctag("input", | 366 | xs_html_text(L("Draft:")), |
| 367 | xs_html_attr("type", "checkbox"), | 367 | xs_html_sctag("input", |
| 368 | xs_html_attr("name", "is_draft"), | 368 | xs_html_attr("type", "checkbox"), |
| 369 | xs_html_attr(is_draft ? "checked" : "", NULL))); | 369 | xs_html_attr("name", "is_draft"), |
| 370 | xs_html_attr(is_draft ? "checked" : "", NULL)))); | ||
| 370 | 371 | ||
| 371 | if (edit_id) | 372 | if (edit_id) |
| 372 | xs_html_add(form, | 373 | xs_html_add(form, |