From: Scott Worley Date: Sat, 19 Nov 2022 11:05:25 +0000 (-0800) Subject: Show vote counts X-Git-Tag: v0.2.0~3 X-Git-Url: http://git.scottworley.com/voter/commitdiff_plain/05232d49a6890f9c2c01eb0462d49b5fd6c479bc Show vote counts --- diff --git a/src/main.rs b/src/main.rs index 9f536ed..a12f73a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -146,6 +146,7 @@ const HTML_HEADER: &str = " + "; @@ -177,6 +178,10 @@ fn prompt_for_vote(dir: PathBuf, request: cgi::Request) -> Result Result + "
Count Vote Candidate
{count} {c}