7 lines
277 B
Text
7 lines
277 B
Text
<%= _("Results:") %>
|
|
<% i = 0 %><% vote.candidates.sort { |a, b| a.mj <=> b.mj }.reverse.each do |candidate| %><% i = i + 1 %>
|
|
<%= "#{i}. #{candidate.name}" %>
|
|
<% end %>
|
|
<%= _("Visit this link to see the full results:") %>
|
|
|
|
<%= "#{settings.base_url}votes/#{vote.secure_id}" %>
|