浏览代码

Tweak date format

tags/last-sinatra-version
Adrian Short 8 年前
父节点
当前提交
d6a998a2c1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      views/body.haml

+ 2
- 2
views/body.haml 查看文件

@@ -11,7 +11,7 @@
%tr
%td
%a{ :href => "/bodies/#{@body.slug}/elections/#{election.d}" }<
= long_date(election.d)
= short_date(election.d)
%td
= election.kind
@@ -21,4 +21,4 @@
- @districts.each do |district|
%p
%a{ :href => "/bodies/#{@body.slug}/#{@body.districts_name}/#{district.slug}" }
= district.name
= district.name

正在加载...
取消
保存