not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 line
339 B

  1. - @last_date = ''
  2. - @results.each do |row|
  3. - if row.election_d != @last_date
  4. - @last_date = row.election_d
  5. %h2= row.election_d
  6. %table
  7. %tr
  8. %td{ :style => "background-color: #{row.party_colour}" }
  9.  
  10. %td= row.party_name
  11. %td= row.c_surname
  12. %td= to_ordinal(row.position)
  13. %td= commify(row.votes)