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.
 
 
 
 

36 line
1.0 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. %meta{ :name => 'referrer', :content => 'no-referrer' }
  7. %meta{ :name => 'viewport', :content => 'width=device-width, initial-scale=1' }
  8. %body
  9. #header.noprint
  10. #header_inner
  11. %h1 Sutton Elections
  12. %ul.menu
  13. %li
  14. %a{ :href => '/' } Home
  15. - Body.each do |body|
  16. %li
  17. %a{ :href => "/bodies/#{body.slug}" }<
  18. = body.name
  19. %li
  20. %a{ :href => '/candidates' } Candidates
  21. %li
  22. %a{ :href => '/guides' } Guides
  23. %li
  24. %a{ :href => '/about' } About
  25. #main
  26. -# - if flash[:notice]
  27. -# #notice
  28. -# %p= flash[:notice]
  29. -# - if flash[:error]
  30. -# #error
  31. -# %p= flash[:error]
  32. = yield