Big commit includes:
[selectricity] / app / views / quickvote / _candidate_list.rhtml
1 <% %>
2 <!-- the list of candidates -->
3 <% if flash[:candidate_names] %>
4   <ul>
5   <% for cand in flash[:candidate_names] %>
6     <li><%=h cand.capitalize %></li>
7   <% end %>
8   </ul>
9 <% end %>
10
11 <% form_remote_tag(:update => 'candidate_names',
12                     :url => { :action => 'add_candidate' },
13                     :complete => "Field.focus('ajax_newcandidate')") do %>
14 <p>
15   <%= text_field "ajax", "newcandidate", :size => 40 %>
16   <%= submit_tag "Add(+)" %>
17 </p>
18 <% end %>

Benjamin Mako Hill || Want to submit a patch?