이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
adrianshort
/
gist-1579512
의 미러
https://gist.github.com/1579512.git
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
0
위키
활동
소스 검색
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)
쓰기
미리보기
불러오는 중...
취소
저장