This website works better with JavaScript.
Home
Explore
Help
Sign In
adrianshort
/
suttonelections
mirror of
https://github.com/adrianshort/suttonelections.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
2
Wiki
Activity
Browse Source
Added % sign formatting to % Votes data
tags/last-sinatra-version
Adrian Short
14 years ago
parent
3e8e53c3ea
commit
54aa4b7324
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save