Election results in the London Borough of Sutton.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

24 行
512 B

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