Election results in the London Borough of Sutton.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

38 wiersze
1.3 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 => 'http://yui.yahooapis.com/pure/0.6.0/pure-min.css' }
  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