From 79162e5e33089b0cace625155a02f657480b03bc Mon Sep 17 00:00:00 2001 From: Adrian Short <adrian@adrianshort.org> Date: Wed, 3 Aug 2016 11:18:18 +0100 Subject: [PATCH] Simplify heading text --- views/district.haml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/views/district.haml b/views/district.haml index eca82bf..7467abd 100644 --- a/views/district.haml +++ b/views/district.haml @@ -40,10 +40,7 @@ -%h2 - Candidates elected previously in - = @district.name - = @district.body.district_name +%h2 Candidates elected - Election.all(:body => @district.body, :order => [:d.desc]).each do |election| - ccys = Candidacy.all(:election_id => election.id, :district_id => @district.id, :seats => 1, :order => [:votes.desc])