summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2023-12-03 17:26:50 +0100
committerGravatar default2023-12-03 17:26:50 +0100
commit5f047d46c0ad2dd2f1cf83f359ac1ad779cb67f8 (patch)
tree2c072f1e54ebfcb08d05a3f5cc87a933f0ff06b0 /html.c
parentDon't show polls as 'votable' from the public timeline. (diff)
downloadsnac2-5f047d46c0ad2dd2f1cf83f359ac1ad779cb67f8.tar.gz
snac2-5f047d46c0ad2dd2f1cf83f359ac1ad779cb67f8.tar.xz
snac2-5f047d46c0ad2dd2f1cf83f359ac1ad779cb67f8.zip
Backport from xs.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 7707413..2cf2b26 100644
--- a/html.c
+++ b/html.c
@@ -1000,7 +1000,7 @@ static xs_html *html_button(char *clss, char *label, char *hint)
1000 xs *c = xs_fmt("snac-btn-%s", clss); 1000 xs *c = xs_fmt("snac-btn-%s", clss);
1001 1001
1002 /* use an NULL tag to separate non-css-classed buttons from one another */ 1002 /* use an NULL tag to separate non-css-classed buttons from one another */
1003 return xs_html_tag(NULL, 1003 return xs_html_container(
1004 xs_html_sctag("input", 1004 xs_html_sctag("input",
1005 xs_html_attr("type", "submit"), 1005 xs_html_attr("type", "submit"),
1006 xs_html_attr("name", "action"), 1006 xs_html_attr("name", "action"),