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.
 
 
 
 

51 regels
1.7 KiB

  1. !!!5
  2. %html
  3. %head
  4. %title= @page_title ? @page_title + " - Sutton Elections" : "Sutton Elections - Your guide to voting and election results in the London Borough of Sutton"
  5. %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/style.css' }
  6. %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/print.css', :media => 'print' }
  7. %meta{ :name => 'referrer', :content => 'no-referrer' }
  8. %body
  9. #main
  10. - if flash[:notice]
  11. #notice
  12. %p= flash[:notice]
  13. - if flash[:error]
  14. #error
  15. %p= flash[:error]
  16. = yield
  17. #footer
  18. #footer_inner
  19. %h1 Sutton Elections
  20. %p
  21. %a{ :href => '/' } Home
  22. - Body.each do |body|
  23. %p
  24. %a{ :href => "/bodies/#{body.slug}" }
  25. = body.name
  26. elections
  27. %p
  28. %a{ :href => '/candidates' } Candidates
  29. -#
  30. %p
  31. %a{ :href => '/polling-stations' } Polling stations
  32. %p
  33. %a{ :href => '/how-the-parliament-election-works' } How parliamentary elections work
  34. %p
  35. %a{ :href => '/how-the-council-election-works' } How council elections work
  36. %p
  37.  
  38. %p
  39. %a{ :href => "https://github.com/adrianshort/suttonelections" }
  40. An independent website by Adrian Short
  41. %p
  42. Powered by data from
  43. %a{ :href => "http://www.sutton.gov.uk/" }<
  44. Sutton Council
  45. ,
  46. %a{ :href => "http://data.london.gov.uk/"}
  47. London Datastore
  48. and
  49. %a{ :href => "http://www.ordnancesurvey.co.uk/business-and-government/products/code-point-open.html" }<
  50. Ordnance Survey