X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/6ea52ab5c0c29ce60f5a8ee2747eb52f47d5b884..86087be54da5f8c3af8fa475fafebd0c5527da9f:/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 %>