From afe5ae8079bba603847b3c34813d1c06f26a03fb Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Fri, 28 Dec 2012 23:54:08 +0000 Subject: [PATCH] Remove unnecessary span elements --- views/resultsdistrict.haml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/views/resultsdistrict.haml b/views/resultsdistrict.haml index 0bfdb35..ff0cfb0 100644 --- a/views/resultsdistrict.haml +++ b/views/resultsdistrict.haml @@ -86,13 +86,11 @@ %tr.vcard %td= count %td{ :style => "background-color: #{candidacy.party.colour}" }   - %td - %span.candidate_name.fn - %a{ :href => "/candidates/#{candidacy.candidate.id}" } - = candidacy.candidate.short_name - %td - %span.candidate_party.org - = candidacy.party.name + %td.candidate_name.fn + %a{ :href => "/candidates/#{candidacy.candidate.id}" } + = candidacy.candidate.short_name + %td.org + = candidacy.party.name %td.right= commify(candidacy.votes)