X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/6ea52ab5c0c29ce60f5a8ee2747eb52f47d5b884..c1a2748a2d981e8c91f4fc69c6e67a31880d4c0d:/app/views/quickvote/_candidate_list.rhtml diff --git a/app/views/quickvote/_candidate_list.rhtml b/app/views/quickvote/_candidate_list.rhtml index ddb47e5..4ec3db8 100644 --- a/app/views/quickvote/_candidate_list.rhtml +++ b/app/views/quickvote/_candidate_list.rhtml @@ -1,14 +1,13 @@ -<% %> -<% if flash[:candlist] %> +<% if flash[:candidate_names] %> <% end %> -<% form_remote_tag(:update => 'candlist', +<% form_remote_tag(:update => 'candidate_names', :url => { :action => 'add_candidate' }, :complete => "Field.focus('ajax_newcandidate')") do %>