Adrian Short 12 년 전
커밋
5781ea5359
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. +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)

불러오는 중...
취소
저장