vedia/views/votes_close_email.erb
2025-06-08 16:07:20 -06:00

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}" %>