|
@@ -17,12 +17,13 @@ |
|
|
%th % Votes |
|
|
%th % Votes |
|
|
%th Seats |
|
|
%th Seats |
|
|
%th % Seats |
|
|
%th % Seats |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- for result in @results |
|
|
- for result in @results |
|
|
%tr |
|
|
%tr |
|
|
%td= result[0] |
|
|
%td= result[0] |
|
|
%td.right= result[1] |
|
|
%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) |
|
|
|
|
|
-# Some pretty serious cheating going on here! |
|
|
%td.right |
|
|
%td.right |
|
|
- if result[0] == 'Conservative Party' |
|
|
- if result[0] == 'Conservative Party' |
|
|
11 |
|
|
11 |
|
@@ -43,13 +44,12 @@ |
|
|
Total votes: |
|
|
Total votes: |
|
|
= @total_votes |
|
|
= @total_votes |
|
|
|
|
|
|
|
|
%p All ward results are now available below. |
|
|
|
|
|
|
|
|
%h2 Sutton Council ward results |
|
|
|
|
|
|
|
|
- for ward in @wards |
|
|
- for ward in @wards |
|
|
%p |
|
|
%p |
|
|
%a{ :href=> "/results/sutton-council/2010-05-06/#{ward.slug}" } |
|
|
%a{ :href=> "/results/sutton-council/2010-05-06/#{ward.slug}" } |
|
|
= ward.name |
|
|
= ward.name |
|
|
Ward |
|
|
|
|
|
-# |
|
|
-# |
|
|
%h1 |
|
|
%h1 |
|
|
Vote for your MP and |
|
|
Vote for your MP and |
|
|