Преглед на файлове

Remove "ward"/"constituency" to make table easier to read; make table easier to copy/paste

tags/last-sinatra-version
Adrian Short преди 13 години
родител
ревизия
d4b4a0646d
променени са 1 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. +2
    -3
      views/candidate.haml

+ 2
- 3
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"


Зареждане…
Отказ
Запис