projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed a large number of bugs in the software (see wiki) over a days work
[selectricity-live]
/
app
/
views
/
election
/
_voter_list.rhtml
diff --git
a/app/views/election/_voter_list.rhtml
b/app/views/election/_voter_list.rhtml
index 4493b0a3950f5c862576f4172c7463004a9d15fa..34aa2074d385a6f5f0d6730e5c6420473cfc84af 100644
(file)
--- a/
app/views/election/_voter_list.rhtml
+++ b/
app/views/election/_voter_list.rhtml
@@
-13,7
+13,8
@@
<% if @edit %>
<%= link_to_remote "Delete",
:complete => "Element.remove('voter#{voter.id}')",
<% if @edit %>
<%= link_to_remote "Delete",
:complete => "Element.remove('voter#{voter.id}')",
- :url => { :action => :delete_voter, :id => voter.id } %>
+ :url => { :action => :delete_voter, :id => @election.id,
+ :voter => voter.id } %>
<% end %>
</li>
</div>
<% end %>
</li>
</div>
Benjamin Mako Hill
||
Want to submit a patch?