2 # basic election information template
5 <% unless @election.voters.empty? %>
6 <p>The following voters are currently registered for this election:</p>
9 <% @election.voters.each do |voter| %>
10 <div id="voter<%= voter.id %>">
11 <li><%= voter.email %>
13 <%= link_to_remote "Delete",
14 :complete => "Element.remove('voter#{voter.id}')",
15 :url => { :action => :delete_voter, :id => voter.id } %>