commit c30036f

default  ·  2024-10-19 07:08:10 +0000 UTC
parent 06376f7
Fixed Draft: label title.
1 files changed,  +7, -6
M html.c
M html.c
+7, -6
 1@@ -361,12 +361,13 @@ xs_html *html_note(snac *user, const char *summary,
 2 
 3     xs_html_add(form,
 4         xs_html_tag("p", NULL),
 5-        xs_html_attr("title", L("Don't send, but store as a draft")),
 6-        xs_html_text(L("Draft:")),
 7-        xs_html_sctag("input",
 8-            xs_html_attr("type", "checkbox"),
 9-            xs_html_attr("name", "is_draft"),
10-            xs_html_attr(is_draft ? "checked" : "", NULL)));
11+        xs_html_tag("span",
12+            xs_html_attr("title", L("Don't send, but store as a draft")),
13+            xs_html_text(L("Draft:")),
14+            xs_html_sctag("input",
15+                xs_html_attr("type", "checkbox"),
16+                xs_html_attr("name", "is_draft"),
17+                xs_html_attr(is_draft ? "checked" : "", NULL))));
18 
19     if (edit_id)
20         xs_html_add(form,