projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved files around a bit more.
[selectricity]
/
app
/
views
/
quickvote
/
_candidate_list.rhtml
diff --git
a/app/views/quickvote/_candidate_list.rhtml
b/app/views/quickvote/_candidate_list.rhtml
index 64aa97926c228cdb0813e0096965d4f005aec67d..4ec3db8b24014e9be500974187a93e2fa2132367 100644
(file)
--- a/
app/views/quickvote/_candidate_list.rhtml
+++ b/
app/views/quickvote/_candidate_list.rhtml
@@
-1,14
+1,13
@@
-<% %>
<!-- the list of candidates -->
<!-- the list of candidates -->
-<% if flash[:cand
list
] %>
+<% if flash[:cand
idate_names
] %>
<ul>
<ul>
- <% for cand in flash[:cand
list
] %>
- <li><%= cand.capitalize %></li>
+ <% for cand in flash[:cand
idate_names
] %>
+ <li><%=
h
cand.capitalize %></li>
<% end %>
</ul>
<% end %>
<% end %>
</ul>
<% end %>
-<% form_remote_tag(:update => 'cand
list
',
+<% form_remote_tag(:update => 'cand
idate_names
',
:url => { :action => 'add_candidate' },
:complete => "Field.focus('ajax_newcandidate')") do %>
<p>
:url => { :action => 'add_candidate' },
:complete => "Field.focus('ajax_newcandidate')") do %>
<p>
Benjamin Mako Hill
||
Want to submit a patch?