diff --git a/views/poll.php b/views/poll.php index 45649e8..77fccf3 100644 --- a/views/poll.php +++ b/views/poll.php @@ -5,7 +5,7 @@
" name="options[]" value="" id="option-" /> - +
diff --git a/views/results.php b/views/results.php index bc1e9a0..9684129 100644 --- a/views/results.php +++ b/views/results.php @@ -11,7 +11,7 @@ foreach ($poll->options as $option) options as $index => $option): ?> votes ?> - label ?> + label) ?> votes / $total_votes, 3)*100 ?>%