Przeglądaj źródła

Make the header the district link

tags/last-sinatra-version
Adrian Short 8 lat temu
rodzic
commit
a3dc385773
1 zmienionych plików z 3 dodań i 7 usunięć
  1. +3
    -7
      views/resultsdistrict.haml

+ 3
- 7
views/resultsdistrict.haml Wyświetl plik

@@ -24,13 +24,9 @@
= @next_district.name
»

%p
%a{ :href => "/bodies/#{@district.body.slug}/#{@district.body.district_name.pluralize(2)}/#{@district.slug}" }
All elections in
= @district.name
»

%h1= @district.name + " " + @district.body.district_name
%h1
%a{ :href => "/bodies/#{@district.body.slug}/#{@district.body.district_name.pluralize(2)}/#{@district.slug}" }
= @district.name + " " + @district.body.district_name

- @election_held = Candidacy.sum(:votes, :election => @election, :district => @district)



Ładowanie…
Anuluj
Zapisz