From 9d82c13f6abc03482d4c669aa6c89a8c570fad49 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Fri, 18 Nov 2022 23:54:25 -0800 Subject: [PATCH] Enable checkboxes on page load --- src/main.rs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4c09c10..bd329fa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -81,8 +81,15 @@ const HTML_HEADER: &str = " Vote! + "; @@ -99,7 +106,9 @@ fn prompt_for_vote(dir: PathBuf, request: cgi::Request) -> Result")) + rc.map(|c| { + format!("") + }) })) .chain(std::iter::once(Ok(HTML_FOOTER.to_owned()))) .collect::>() -- 2.44.1
{c}
{c}