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.
 
 
 
 

29 lines
603 B

  1. %h1= @page_title = @body.name
  2. %h2 Elections
  3. %table
  4. %thead
  5. %tr
  6. %th
  7. %th
  8. %th turnout
  9. - @elections.each do |election|
  10. %tr
  11. %td
  12. %a{ :href => "/bodies/#{@body.slug}/elections/#{election.d}" }<
  13. = short_date(election.d)
  14. %td
  15. = election.kind
  16. %td.right
  17. - if election.turnout_percent
  18. = format_percent(election.turnout_percent)
  19. %h2
  20. = @body.districts_name.capitalize
  21. - @districts.each do |district|
  22. %p
  23. %a{ :href => "/bodies/#{@body.slug}/#{@body.districts_name}/#{district.slug}" }
  24. = district.name