Election results in the London Borough of Sutton.
Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
|
- .nav
- %a{ :href => "/candidates" }
- « All candidates
-
- %h1= @page_title = @candidate.name
-
- %h2 Elections contested
-
- %table
- %tr
- %th
- %th date
- %th party
- %th body
- %th district
- %th votes
- %th position
- %th
-
- - @candidacies.each do |ccy|
- %tr
- %td{ :style => "background-color: #{ccy['party_colour']}" }
- %td
- %a{ :href => "/bodies/#{ccy['body_slug']}/elections/#{ccy['d']}" }
- -# Postgres returns ccy['d'] as a Date and sqlite returns it as a String
- = long_date(ccy['d'].to_time)
- %td= ccy['party_name']
- %td
- %a{ :href => "/bodies/#{ccy['body_slug']}" }
- = ccy['body_name']
- %td
- %a{ :href => "/bodies/#{ccy['body_slug']}/elections/#{ccy['d']}/#{ccy['districts_name']}/#{ccy['district_slug']}" }
- = ccy['district_name']
- %td.right= commify(ccy['votes'])
- %td.right= to_ordinal(ccy['position'])
- %td= ccy['seats'] == 1 ? "Elected" : "Not elected"
-
- .warning
- This might not be the complete electoral history for this candidate. They might have stood in elections outside Sutton and / or in Sutton elections for which we don't have data.
|