This website works better with JavaScript.
Home
Explore
Help
Sign In
adrianshort
/
suttonelections
mirror of
https://github.com/adrianshort/suttonelections.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
2
Wiki
Activity
Browse Source
Simplify heading text
tags/last-sinatra-version
Adrian Short
8 years ago
parent
e11b06e821
commit
79162e5e33
1 changed files
with
1 additions
and
4 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-4
views/district.haml
+ 1
- 4
views/district.haml
View File
@@ -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|
- 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])
- ccys = Candidacy.all(:election_id => election.id, :district_id => @district.id, :seats => 1, :order => [:votes.desc])
Write
Preview
Loading…
Cancel
Save