2 <p class="winner_text">
3 <% if result.winner? and result.winners.length == 1 -%>
5 <strong><%=h @candidates[result.winner].name.capitalize %></strong>
6 <% elsif result.winner? and result.winners.length > 1 %>
7 There was a tie. The winners are: <strong><%=h( result.winners.collect {|w| @candidates[w].to_s.capitalize}.join(", ") )%></strong>
9 <p>There is no winner using this method. </strong>