Election results in the London Borough of Sutton.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
481 B

  1. %h1= @page_title = "Candidates"
  2. - @first_letter = ''
  3. %table
  4. - @candidates.each do |c|
  5. - if c.surname[0] != @first_letter
  6. - @first_letter = c.surname[0]
  7. %tr.noborder
  8. %td  
  9. %td
  10. %tr.noborder
  11. %td.strong{ :style => "font-size: 300%;" }= @first_letter.upcase
  12. %td
  13. %tr
  14. %td
  15. %td
  16. %tr
  17. %td
  18. %a{ :href => "/candidates/#{c.id}" }
  19. = c.surname
  20. %td= c.forenames