Browse Source

Tweak date format

tags/last-sinatra-version
Adrian Short 8 years ago
parent
commit
d6a998a2c1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      views/body.haml

+ 2
- 2
views/body.haml View File

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

Loading…
Cancel
Save