| @@ -8,14 +8,14 @@ | |||||
| %table | %table | ||||
| %tr | %tr | ||||
| %th | |||||
| %th | |||||
| %th date | %th date | ||||
| %th party | %th party | ||||
| %th body | %th body | ||||
| %th district | %th district | ||||
| %th votes | %th votes | ||||
| %th position | %th position | ||||
| %th | |||||
| %th | |||||
| - @candidate.candidacies.each do |ccy| | - @candidate.candidacies.each do |ccy| | ||||
| %tr | %tr | ||||
| @@ -30,7 +30,6 @@ | |||||
| %td | %td | ||||
| %a{ :href => "/bodies/#{ccy.election.body.slug}/elections/#{ccy.election.d}/#{ccy.district.body.districts_name}/#{ccy.district.slug}" } | %a{ :href => "/bodies/#{ccy.election.body.slug}/elections/#{ccy.election.d}/#{ccy.district.body.districts_name}/#{ccy.district.slug}" } | ||||
| = ccy.district.name | = ccy.district.name | ||||
| = ccy.district.body.district_name | |||||
| %td.right= commify(ccy.votes) | %td.right= commify(ccy.votes) | ||||
| %td.right= to_ordinal(ccy.position) | %td.right= to_ordinal(ccy.position) | ||||
| %td= ccy.seats == 1 ? "Elected" : "Not elected" | %td= ccy.seats == 1 ? "Elected" : "Not elected" | ||||