2 # basic election information template
4 <p>The following voters are currently registered for this election:</p>
7 <% @election.voters.each do |voter| %>
8 <div id="voter<%= voter.id %>">
11 <%= link_to_remote "Delete",
12 :complete => "Element.remove('voter#{voter.id}')",
13 :url => { :action => :delete_voter, :id => voter.id } %>