Election results in the London Borough of Sutton.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

38 lines
1.1 KiB

  1. .nav
  2. %a{ :href => "/candidates" }
  3. « All candidates
  4. %h1= @page_title = @candidate.name
  5. %h2 Elections contested
  6. %table
  7. %tr
  8. %th  
  9. %th date
  10. %th party
  11. %th body
  12. %th district
  13. %th votes
  14. %th position
  15. %th  
  16. - @candidate.candidacies.each do |ccy|
  17. %tr
  18. %td{ :style => "background-color: #{ccy.party.colour}" }  
  19. %td
  20. %a{ :href => "/bodies/#{ccy.election.body.slug}/elections/#{ccy.election.d}" }
  21. = long_date(ccy.election.d)
  22. %td= ccy.party.name
  23. %td
  24. %a{ :href => "/bodies/#{ccy.election.body.slug}" }
  25. = ccy.election.body.name
  26. %td
  27. %a{ :href => "/bodies/#{ccy.election.body.slug}/elections/#{ccy.election.d}/#{ccy.district.body.districts_name}/#{ccy.district.slug}" }
  28. = ccy.district.name
  29. %td.right= commify(ccy.votes)
  30. %td.right= to_ordinal(ccy.position)
  31. %td= ccy.seats == 1 ? "Elected" : "Not elected"
  32. .warning
  33. 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.