parent
cac94c2379
commit
b41a0d0417
14 changed files with 284 additions and 97 deletions
7
views/votes_close_email.erb
Normal file
7
views/votes_close_email.erb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<%= _("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}" %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue