Election results in the London Borough of Sutton.
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- %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
-
|