From 0368067b65fad0d0378e19220f14fca9ad8aa35e Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Thu, 14 May 2015 21:38:27 +0100 Subject: [PATCH] Right-align position column --- app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.rb b/app.rb index c03c0cd..85ec3a7 100644 --- a/app.rb +++ b/app.rb @@ -287,7 +287,7 @@ get '/bodies/:body/elections/:date/:districts_name/:district' do count = 0 @candidacies.each do |c| count += 1 - o += "| %2d | [[%-30s]] | [[%-40s]] | %6s | %3s | %-7s |\n" % + o += "| %2d | [[%-30s]] | [[%-40s]] | %6s | %3s | %-7s |\n" % [ count, c.candidate.short_name, party_name(c.labcoop, c.party.name),