Election results in the London Borough of Sutton.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

body.haml 504 B

13 years ago
13 years ago
13 years ago
13 years ago
123456789101112131415161718192021222324
  1. .nav
  2. %a{ :href => "/bodies" }
  3. « Government bodies
  4. %h1= @page_title = @body.name
  5. %h2 Elections
  6. %table
  7. - @elections.each do |election|
  8. %tr
  9. %td
  10. %a{ :href => "/bodies/#{@body.slug}/elections/#{election.d}" }<
  11. = short_date(election.d)
  12. %td
  13. = election.kind
  14. %h2
  15. = @body.districts_name.capitalize
  16. - @districts.each do |district|
  17. %p
  18. %a{ :href => "/bodies/#{@body.slug}/#{@body.districts_name}/#{district.slug}" }
  19. = district.name