Commit b2a4d135 authored by April Guian's avatar April Guian

changed user.full_name to user_id

parent 24e7ad0a
......@@ -47,11 +47,11 @@
</center>
<hr>
<% if @candidate.votes.count > 0 %>
<h3>Voters who voted for <%= @candidate.full_name%></h3>
<h3>User ID of voters who voted for <%= @candidate.full_name%></h3>
<ul>
<li>
<% @candidate.votes.each do |v|%>
<%= "#{v.user.full_name}"%>
<%= "#{v.user_id}"%>
<br>
<p>
Comments: <%=v.comment%>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment