Browse Source

Show links for all bodies in footer

Saves users having to drill down
tags/last-sinatra-version
Adrian Short 9 years ago
parent
commit
c53205a00d
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      views/layout.haml

+ 5
- 2
views/layout.haml View File

@@ -18,8 +18,11 @@
%h1 Sutton Elections
%p
%a{ :href => '/' } Home
%p
%a{ :href => '/bodies' } Bodies
- Body.each do |body|
%p
%a{ :href => "/bodies/#{body.slug}" }
= body.name
elections
%p
%a{ :href => '/candidates' } Candidates
-#


Loading…
Cancel
Save