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

Benjamin Mako Hill || Want to submit a patch?