diff options
| -rw-r--r-- | html.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1025,8 +1025,8 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local, | |||
| 1025 | } | 1025 | } |
| 1026 | else { | 1026 | else { |
| 1027 | /* poll still active */ | 1027 | /* poll still active */ |
| 1028 | xs *s1 = xs_fmt("<form class=\"snac-poll-form\" method=\"post\" " | 1028 | xs *s1 = xs_fmt("<div class=\"snac-poll-form\">\n" |
| 1029 | "action=\"%s/admin/vote\">\n" | 1029 | "<form method=\"post\" action=\"%s/admin/vote\">\n" |
| 1030 | "<input type=\"hidden\" name=\"actor\" value= \"%s\">\n" | 1030 | "<input type=\"hidden\" name=\"actor\" value= \"%s\">\n" |
| 1031 | "<input type=\"hidden\" name=\"irt\" value=\"%s\">\n", | 1031 | "<input type=\"hidden\" name=\"irt\" value=\"%s\">\n", |
| 1032 | snac->actor, actor, id); | 1032 | snac->actor, actor, id); |
| @@ -1045,7 +1045,7 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local, | |||
| 1045 | } | 1045 | } |
| 1046 | 1046 | ||
| 1047 | xs *s2 = xs_fmt("<p><input type=\"submit\" " | 1047 | xs *s2 = xs_fmt("<p><input type=\"submit\" " |
| 1048 | "class=\"button\" value=\"%s\">\n</form>\n\n", L("Vote")); | 1048 | "class=\"button\" value=\"%s\">\n</form>\n</div>\n\n", L("Vote")); |
| 1049 | 1049 | ||
| 1050 | s1 = xs_str_cat(s1, s2); | 1050 | s1 = xs_str_cat(s1, s2); |
| 1051 | 1051 | ||