X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/58fb91dde4b0a16c1a764dda66e31bc57565e41f..dfefbfcd5664f972c7a0d7deb53b8eaa683d4c81:/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 %>