<link rel"stylesheet" type="text/css" href="application.css">

<h1>Voting Record of <%= current_user.first_name %> <%= current_user.last_name %> </h1>

<table>
	<thead>
		<th>Voted Candidate</th>
		<th>Position </th>
		<th>Voted On</th>
	</thead>
	<tbody>
		<% @votes.each do |o| %>
			<tr>
				<td><%= o.candidate.first_name %>&nbsp<%= o.candidate.last_name %></td>
				<td><%= o.candidate.position.name %></td>
				<td><%= o.created_at %></td>
			</tr>
		<% end %>
	</tbody>
</table>
