summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-06-07 18:44:33 +0200
committerdefault <nobody@localhost>2023-06-07 18:44:33 +0200
commite22da86ccff9b9f4bdc6a7a9360d057fb79d1ef2 (patch)
treecc4761e822a499cbef38b788bd7f5174d5306264 /html.c
parent22565f5c40b568aa68f8782614ffcc09130f03dc (diff)
Minor tweak to snac-poll-form.
Diffstat (limited to 'html.c')
-rw-r--r--html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/html.c b/html.c
index 06c28bb..a341a37 100644
--- a/html.c
+++ b/html.c
@@ -1025,8 +1025,8 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local,
}
else {
/* poll still active */
- xs *s1 = xs_fmt("<form class=\"snac-poll-form\" method=\"post\" "
- "action=\"%s/admin/vote\">\n"
+ xs *s1 = xs_fmt("<div class=\"snac-poll-form\">\n"
+ "<form method=\"post\" action=\"%s/admin/vote\">\n"
"<input type=\"hidden\" name=\"actor\" value= \"%s\">\n"
"<input type=\"hidden\" name=\"irt\" value=\"%s\">\n",
snac->actor, actor, id);
@@ -1045,7 +1045,7 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local,
}
xs *s2 = xs_fmt("<p><input type=\"submit\" "
- "class=\"button\" value=\"%s\">\n</form>\n\n", L("Vote"));
+ "class=\"button\" value=\"%s\">\n</form>\n</div>\n\n", L("Vote"));
s1 = xs_str_cat(s1, s2);