Election results in the London Borough of Sutton.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

37 lines
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. 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