X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/58fb91dde4b0a16c1a764dda66e31bc57565e41f..8f1a5a8b6f7f44d557e8772a6f1b7025b406bb4d:/app/views/quickvote/_result.rhtml?ds=sidebyside diff --git a/app/views/quickvote/_result.rhtml b/app/views/quickvote/_result.rhtml index b643224..e0ead6d 100644 --- a/app/views/quickvote/_result.rhtml +++ b/app/views/quickvote/_result.rhtml @@ -1,9 +1,10 @@ -<% %> +
The winner is: - <%=h @candidates[result.winner].name.capitalize %>
+The winner is: + <%=h @candidates[result.winner].name.capitalize %>
<% elsif result.winner? and result.winners.length > 1 %> -There was a tie. The winners are: <%=h( result.winners.collect {|w| @candidates[w].to_s.capitalize}.join(", ") )%>
+There was a tie. The winners are: <%=h( result.winners.collect {|w| @candidates[w].to_s.capitalize}.join(", ") )%>
<% else %> -There is no winner using this method.
+There is no winner using this method.
<% end %> +