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.
 
 
 
 

39 lines
1.4 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" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
  6. %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/style.css' }
  7. %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/print.css', :media => 'print' }
  8. %meta{ :name => 'referrer', :content => 'no-referrer' }
  9. %meta{ :name => 'viewport', :content => 'width=device-width, initial-scale=1' }
  10. %body
  11. #header.noprint
  12. #header_inner
  13. %h1 Sutton Elections
  14. .pure-menu.pure-menu-horizontal
  15. %ul.pure-menu-list
  16. %li.pure-menu-item
  17. %a{ :href => '/' } Home
  18. - Body.each do |body|
  19. %li.pure-menu-item
  20. %a{ :href => "/bodies/#{body.slug}" }
  21. = body.name
  22. %li.pure-menu-item
  23. %a{ :href => '/candidates' } Candidates
  24. %li.pure-menu-item
  25. %a{ :href => '/guides' } Guides
  26. %li.pure-menu-item
  27. %a{ :href => '/about' } About
  28. #main
  29. -# - if flash[:notice]
  30. -# #notice
  31. -# %p= flash[:notice]
  32. -# - if flash[:error]
  33. -# #error
  34. -# %p= flash[:error]
  35. = yield