Explorar el Código

Added % sign formatting to % Votes data

tags/last-sinatra-version
Adrian Short hace 16 años
padre
commit
54aa4b7324
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      views/home.haml

+ 1
- 1
views/home.haml Ver fichero

@@ -22,7 +22,7 @@
%tr
%td= result[0]
%td.right= result[1]
%td.right= sprintf("%0.1f", result[1].to_f / @total_votes * 100)
%td.right= sprintf("%0.1f%%", result[1].to_f / @total_votes * 100)
%td.right
- if result[0] == 'Conservative Party'
11


Cargando…
Cancelar
Guardar