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.
 
 
 
 

100 lines
3.1 KiB

  1. %h1 Sutton Elections
  2. #lookup
  3. %h2
  4. = @election_title
  5. %form{ :method => 'get', :action => '/' }
  6. %label{ :for => "postcode" } My postcode is
  7. %input{ :type => 'text', :name => 'postcode', :value => @default_pc, :size => 8, :maxlength => 8 }
  8. %input{ :type => 'submit', :value => "Find my results" }
  9. - if @future_elections.size > 0
  10. %h2 Forthcoming elections
  11. %table
  12. - @future_elections.each do |election|
  13. %tr
  14. %td
  15. %a{ :href => "/bodies/#{election.body.slug}/elections/#{election.d}" }
  16. = election.body.name
  17. \ -
  18. = election.kind
  19. = short_date(election.d)
  20. - if @past_elections.size > 0
  21. %h2 Past elections
  22. %table
  23. - @past_elections.each do |election|
  24. %tr
  25. %td
  26. %a{ :href => "/bodies/#{election.body.slug}/elections/#{election.d}" }
  27. = election.body.name
  28. \ -
  29. = election.kind
  30. = short_date(election.d)
  31. -#
  32. %h2 Sutton Council Results by Ward
  33. %p Click on the ward names to see the full results for that ward.
  34. %table.wardmap
  35. %tr
  36. %td.blank
  37. %td.blank
  38. %td.ld3
  39. %a{ :href => 'results/sutton-council/2010-05-06/st-helier' } St Helier
  40. %td.ld3
  41. %a{ :href => 'results/sutton-council/2010-05-06/wandle-valley' } Wandle Valley
  42. %td.blank
  43. %td.blank
  44. %tr
  45. %td.ld2
  46. %a{ :href => 'results/sutton-council/2010-05-06/worcester-park' } Worcester Park
  47. %td.ld3
  48. %a{ :href => 'results/sutton-council/2010-05-06/stonecot' } Stonecot
  49. %td.ld3
  50. %a{ :href => 'results/sutton-council/2010-05-06/sutton-north' } Sutton North
  51. %td.ld3
  52. %a{ :href => 'results/sutton-council/2010-05-06/the-wrythe' } The Wrythe
  53. %td.blank
  54. %td.blank
  55. %tr
  56. %td.ld2
  57. %a{ :href => 'results/sutton-council/2010-05-06/nonsuch' } Nonsuch
  58. %td.ld3
  59. %a{ :href => 'results/sutton-council/2010-05-06/sutton-west' } Sutton West
  60. %td.ld3
  61. %a{ :href => 'results/sutton-council/2010-05-06/sutton-central' } Sutton Central
  62. %td.ld3
  63. %a{ :href => 'results/sutton-council/2010-05-06/carshalton-central' } Carshalton Central
  64. %td.ld3
  65. %a{ :href => 'results/sutton-council/2010-05-06/wallington-north' } Wallington North
  66. %td.ld3
  67. %a{ :href => 'results/sutton-council/2010-05-06/beddington-north' } Beddington North
  68. %tr
  69. %td.blank
  70. %td.ld1
  71. %a{ :href => 'results/sutton-council/2010-05-06/cheam' } Cheam
  72. %td.ld2
  73. %a{ :href => 'results/sutton-council/2010-05-06/sutton-south' } Sutton South
  74. %td.ld1
  75. %a{ :href => 'results/sutton-council/2010-05-06/carshalton-south-and-clockhouse' } Carshalton South & Clockhouse
  76. %td.ld3
  77. %a{ :href => 'results/sutton-council/2010-05-06/wallington-south' } Wallington South
  78. %td.ld2
  79. %a{ :href => 'results/sutton-council/2010-05-06/beddington-south' } Beddington South
  80. %tr
  81. %td.blank
  82. %td.blank
  83. %td.con3
  84. %a{ :href => 'results/sutton-council/2010-05-06/belmont' } Belmont
  85. %td.blank
  86. %td.blank
  87. %td.blank