From d4b4a0646d06a1c8724ce3a7c0e3b4579044127a Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 19 Dec 2012 10:54:06 +0000 Subject: [PATCH] Remove "ward"/"constituency" to make table easier to read; make table easier to copy/paste --- views/candidate.haml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/views/candidate.haml b/views/candidate.haml index df42df2..6d47f76 100644 --- a/views/candidate.haml +++ b/views/candidate.haml @@ -8,14 +8,14 @@ %table %tr - %th + %th   %th date %th party %th body %th district %th votes %th position - %th + %th   - @candidate.candidacies.each do |ccy| %tr @@ -30,7 +30,6 @@ %td %a{ :href => "/bodies/#{ccy.election.body.slug}/elections/#{ccy.election.d}/#{ccy.district.body.districts_name}/#{ccy.district.slug}" } = ccy.district.name - = ccy.district.body.district_name %td.right= commify(ccy.votes) %td.right= to_ordinal(ccy.position) %td= ccy.seats == 1 ? "Elected" : "Not elected"