Election results in the London Borough of Sutton.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

layout.haml 1.3 KiB

il y a 12 ans
123456789101112131415161718192021222324252627282930313233343536
  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. elections
  23. %li.pure-menu-item
  24. %a{ :href => '/candidates' } Candidates
  25. %li.pure-menu-item
  26. %a{ :href => '/about' } About
  27. #main
  28. - if flash[:notice]
  29. #notice
  30. %p= flash[:notice]
  31. - if flash[:error]
  32. #error
  33. %p= flash[:error]
  34. = yield