% %>
<% if @flash[:candlist] %>
<% for cand in @flash[:candlist] %>
- <%= cand.capitalize %>
<% end %>
<% end %>
<%= form_remote_tag :update => 'candlist',
:url => { :action => 'add_candidate' },
:complete => "Field.focus('ajax_newcandidate')" %>
<%= text_field "ajax", "newcandidate", :size => 40 %>
<%= submit_tag "Add(+)" %>
<%= end_form_tag %>