This website works better with JavaScript.
Home
Explore
Help
Sign In
adrianshort
/
suttonelections
mirror of
https://github.com/adrianshort/suttonelections.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
2
Wiki
Activity
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
c699e2d8e8
commit
c53205a00d
1 changed files
with
5 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-2
views/layout.haml
+ 5
- 2
views/layout.haml
View File
@@ -18,8 +18,11 @@
%h1 Sutton Elections
%h1 Sutton Elections
%p
%p
%a{ :href => '/' } Home
%a{ :href => '/' } Home
%p
%a{ :href => '/bodies' } Bodies
- Body.each do |body|
%p
%a{ :href => "/bodies/#{body.slug}" }
= body.name
elections
%p
%p
%a{ :href => '/candidates' } Candidates
%a{ :href => '/candidates' } Candidates
-#
-#
Write
Preview
Loading…
Cancel
Save