Browse Source

Right-align position column

tags/last-sinatra-version
Adrian Short 9 years ago
parent
commit
0368067b65
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app.rb

+ 1
- 1
app.rb View File

@@ -287,7 +287,7 @@ get '/bodies/:body/elections/:date/:districts_name/:district' do
count = 0 count = 0
@candidacies.each do |c| @candidacies.each do |c|
count += 1 count += 1
o += "| %2d | [[%-30s]] | [[%-40s]] | %6s | %3s | %-7s |\n" %
o += "| %2d | [[%-30s]] | [[%-40s]] | %6s | %3s | %-7s |\n" %
[ count, [ count,
c.candidate.short_name, c.candidate.short_name,
party_name(c.labcoop, c.party.name), party_name(c.labcoop, c.party.name),


Loading…
Cancel
Save