Explorar el Código

Tweak date format

tags/last-sinatra-version
Adrian Short hace 8 años
padre
commit
d6a998a2c1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      views/body.haml

+ 2
- 2
views/body.haml Ver fichero

@@ -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

Cargando…
Cancelar
Guardar