Election results in the London Borough of Sutton.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

29 rindas
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