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