Election results in the London Borough of Sutton.
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.
|
- %h1= @page_title = "Candidates"
-
- %nav.letter_index
- - ("A".."Z").each do |letter|
- %a{ :href => "##{letter}" }<
- = letter
-
- - @first_letter = ''
-
- %table
- - @candidates.each do |c|
- - if c.surname[0] != @first_letter
- - @first_letter = c.surname[0]
- %tr.noborder
- %td
- %td
- %tr.noborder{ :name => @first_letter, :id => @first_letter }
- %td.strong{ :style => "font-size: 300%;" }= @first_letter.upcase
- %td
- %tr
- %td
- %td
- %tr
- %td
- %a{ :href => "/candidates/#{c.id}" }
- = c.surname
- %td= c.forenames
-
|