<commit_before><h2>My Votes</h2>

<table role="grid">
	<thead>
		<tr>
			<th>Number</th>
			<th>Title</th>
			<th width="100">My Vote</th>
		</tr>
	</thead>	
	<tbody>
		<% @votes.each do |vote| %>
			<tr>
				<td><%= link_to vote.item.number, item_path(vote.item) %></td>
				<td><%= link_to vote.item.title, item_path(vote.item) %></td>
				<td class="vote-<%=vote.vote.downcase %>">
					<%= vote.vote %>
				</td>
			</tr>
		<% end %>
	</tbody>
</table>

<%= paginate @votes %><commit_msg>Add ward is to my_votes page<commit_after><h2>My Votes</h2>

<p>Ward <%= @user.ward_id %> - <%= @user.ward.name %></p>

<table role="grid">
	<thead>
		<tr>
			<th>Number</th>
			<th>Title</th>
			<th width="100">My Vote</th>
		</tr>
	</thead>	
	<tbody>

	<% if @votes == nil %>
		<p>You have no votes. Get Voting! </p>
	<% else %>
		<% @votes.each do |vote| %>
			<tr>
				<td><%= link_to vote.item.number, item_path(vote.item) %></td>
				<td><%= link_to vote.item.title, item_path(vote.item) %></td>
				<td class="vote-<%=vote.vote.downcase %>">
					<%= vote.vote %>
				</td>
			</tr>
		<% end %>
	<% end %>
	</tbody>
</table>

<%= paginate @votes %>
{'fraction_non_alphanumeric': 0.25719267654751526, 'fraction_numerical': 0.008718395815170008, 'mean_word_length': 3.0, 'pattern_counts': {'":': 0, '<': 74, '<?xml version=': 0, '>': 74, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4805035', 'n_tokens_mistral': 607, 'n_tokens_neox': 502, 'n_words': 97}