Browse Source

Added % sign formatting to % Votes data

tags/last-sinatra-version
Adrian Short 14 years ago
parent
commit
54aa4b7324
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      views/home.haml

+ 1
- 1
views/home.haml View File

@@ -22,7 +22,7 @@
%tr
%td= result[0]
%td.right= result[1]
%td.right= sprintf("%0.1f", result[1].to_f / @total_votes * 100)
%td.right= sprintf("%0.1f%%", result[1].to_f / @total_votes * 100)
%td.right
- if result[0] == 'Conservative Party'
11


Loading…
Cancel
Save