| @@ -1,12 +0,0 @@ | |||||
| %h2 Register to vote | |||||
| %p It's too late now to register to vote for the elections on 6 May 2010. Registrations closed for those elections on 20 April. | |||||
| %p If you've missed out, now is the time to register so that you can vote in future elections. | |||||
| %p | |||||
| You can get a registration form at the | |||||
| %a{ :href => "http://www.aboutmyvote.co.uk/" } About My Vote | |||||
| website or by phoning Sutton Council on | |||||
| %span.phone 020 8770 4888. | |||||
| @@ -1,55 +0,0 @@ | |||||
| .grid_12 | |||||
| %p Sutton Council Election 6 May 2010 Results | |||||
| %h1= @ward.name + " Ward" | |||||
| - @page_title = @ward.name + " Ward Results, Sutton Council Election 6 May 2010" | |||||
| - count = 0 | |||||
| %table | |||||
| %tr | |||||
| %th | |||||
| %th | |||||
| %th | |||||
| %th.right Votes | |||||
| %th.right % Votes | |||||
| %th | |||||
| - for candidate in @candidates | |||||
| - count += 1 | |||||
| %tr.vcard | |||||
| %td= count | |||||
| %td{ :style => "background-color: #{candidate.party.colour}" } | |||||
| %td | |||||
| %span.candidate_name.fn | |||||
| = candidate.forenames.split(' ')[0] | |||||
| = candidate.surname | |||||
| %br | |||||
| %span.candidate_party.org | |||||
| = candidate.party.name | |||||
| %td.right= candidate.votes_2010 | |||||
| %td.right | |||||
| - pc_2010 = candidate.votes_2010.to_f / @total_2010 * 100 | |||||
| = sprintf("%0.1f%%", pc_2010) | |||||
| -# | |||||
| %td.right | |||||
| - unless candidate.percent_2005.nil? | |||||
| - change_2010 = pc_2010 - candidate.percent_2005 | |||||
| = sprintf("%+0.1f%%", change_2010) | |||||
| %td | |||||
| - if count < 4 | |||||
| .elected ELECTED | |||||
| %tr.noborder | |||||
| %td | |||||
| %td | |||||
| %td | |||||
| %td= @total_2010 | |||||
| %td | |||||
| %td | |||||
| %td | |||||
| @@ -1,57 +0,0 @@ | |||||
| .grid_12 | |||||
| %p UK Parliament Election 6 May 2010 Results | |||||
| %h1= @constituency.name + " Constituency" | |||||
| - @page_title = @constituency.name + " Constituency Results, UK Parliament Election 6 May 2010" | |||||
| - count = 0 | |||||
| %table | |||||
| %tr | |||||
| %th | |||||
| %th | |||||
| %th | |||||
| %th.right Votes | |||||
| %th.right % | |||||
| %th.right Change | |||||
| %th | |||||
| - for candidate in @candidates | |||||
| - count += 1 | |||||
| %tr.vcard | |||||
| %td= count | |||||
| %td{ :style => "background-color: #{candidate.party.colour}" } | |||||
| %td | |||||
| %span.candidate_name.fn | |||||
| = candidate.forenames.split(' ')[0] | |||||
| = candidate.surname | |||||
| %br | |||||
| %span.candidate_party.org | |||||
| = candidate.party.name | |||||
| %td.right= candidate.votes_2010 | |||||
| %td.right | |||||
| - pc_2010 = candidate.votes_2010.to_f / @total_2010 * 100 | |||||
| = sprintf("%0.1f%%", pc_2010) | |||||
| %td.right | |||||
| - unless candidate.percent_2005.nil? | |||||
| - change_2010 = pc_2010 - candidate.percent_2005 | |||||
| = sprintf("%+0.1f%%", change_2010) | |||||
| %td | |||||
| - if count == 1 | |||||
| .elected ELECTED | |||||
| %tr.noborder | |||||
| %td | |||||
| %td | |||||
| %td | |||||
| %td= @total_2010 | |||||
| %td | |||||
| %td | |||||
| %td | |||||
| @@ -1,18 +0,0 @@ | |||||
| .grid_6 | |||||
| %h1 Sutton Council Wards | |||||
| %p The London Borough of Sutton is divided into 18 areas called wards. Each ward elects three councillors. | |||||
| %p You can use this page to see the council candidates in each ward. | |||||
| %p | |||||
| If you don't know which ward you live in, go to the | |||||
| %a{ :href => '/' }home page | |||||
| and use your postcode to find out. | |||||
| .grid_6 | |||||
| - for ward in @wards | |||||
| %p.adr | |||||
| %a{ :href => "/wards/#{ward.slug}" } | |||||
| %span.locality | |||||
| = ward.name | |||||