このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
adrianshort
/
gist-1579512
ミラー元
https://gist.github.com/1579512.git
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
リリース
0
Wiki
アクティビティ
ソースを参照
master
Adrian Short
12年前
コミット
5781ea5359
1個のファイルの変更
、
16行の追加
、
0行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+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)
書き込み
プレビュー
読み込み中…
キャンセル
保存