More HTML tweaks.

This commit is contained in:
default 2023-11-27 14:05:56 +01:00
parent c34d701a65
commit 3ac738b0b9

16
html.c
View File

@ -337,14 +337,14 @@ xs_html *html_note(snac *user, char *summary,
xs_html_tag("summary", xs_html_tag("summary",
xs_html_text(L("Poll..."))), xs_html_text(L("Poll..."))),
xs_html_tag("p", xs_html_tag("p",
xs_html_text(L("Poll options (one per line, up to 8):"))), xs_html_text(L("Poll options (one per line, up to 8):")),
xs_html_tag("textarea", xs_html_sctag("br", NULL),
xs_html_attr("class", "snac-textarea"), xs_html_tag("textarea",
xs_html_attr("name", "poll_options"), xs_html_attr("class", "snac-textarea"),
xs_html_attr("rows", "4"), xs_html_attr("name", "poll_options"),
xs_html_attr("wrap", "virtual"), xs_html_attr("rows", "4"),
xs_html_attr("placeholder", "Option 1...\nOption 2...\nOption 3...\n...")), xs_html_attr("wrap", "virtual"),
xs_html_tag("p", NULL), xs_html_attr("placeholder", "Option 1...\nOption 2...\nOption 3...\n..."))),
xs_html_tag("select", xs_html_tag("select",
xs_html_attr("name", "poll_multiple"), xs_html_attr("name", "poll_multiple"),
xs_html_tag("option", xs_html_tag("option",