This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
adrianshort
/
gist-1579512
огледало од
https://gist.github.com/1579512.git
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Издања
0
Вики
Activity
Преглед изворни кода
master
Adrian Short
пре 12 година
комит
5781ea5359
1 измењених фајлова
са
16 додато
и
0 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+16
-0
gistfile1.haml
+ 16
- 0
gistfile1.haml
Прегледај датотеку
@@ -0,0 +1,16 @@
- @last_date = ''
- @results.each do |row|
- if row.election_d != @last_date
- @last_date = row.election_d
%h2= row.election_d
%table
%tr
%td{ :style => "background-color: #{row.party_colour}" }
%td= row.party_name
%td= row.c_surname
%td= to_ordinal(row.position)
%td= commify(row.votes)
Write
Preview
Loading…
Откажи
Сачувај