diff --git a/views/layout.haml b/views/layout.haml index 6dc9aac..898682e 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -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 -#