2 <!-- the list of candidates -->
3 <% if flash[:candidate_names] %>
5 <% for cand in flash[:candidate_names] %>
6 <li><%=h cand.capitalize %></li>
11 <% form_remote_tag(:update => 'candidate_names',
12 :url => { :action => 'add_candidate' },
13 :complete => "Field.focus('ajax_newcandidate')") do %>
15 <%= text_field "ajax", "newcandidate", :size => 40 %>
16 <%= submit_tag "Add(+)" %>