浏览代码

Show links for all bodies in footer

Saves users having to drill down
tags/last-sinatra-version
Adrian Short 9 年前
父节点
当前提交
c53205a00d
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. +5
    -2
      views/layout.haml

+ 5
- 2
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
-#


正在加载...
取消
保存