]> projects.mako.cc - selectricity-live/blob - app/views/elections/_candidates_form.rhtml
Added processing and presentatin of results.
[selectricity-live] / app / views / elections / _candidates_form.rhtml
1 <p>Please enter candidates for <strong><%= @election.name %></strong>.</p>
2
3   <%= form_remote_tag(:update => "candidate_list",
4                       :url => { :action => :add_candidate, :id => @election.id },
5                       :position => "top" ) %>
6
7   <p>New candidate name:
8   <%= text_field_tag :newcandidate %>
9
10   <%= submit_tag "Add" %>
11   <%= end_form_tag %>

Benjamin Mako Hill || Want to submit a patch?