]> projects.mako.cc - selectricity/blob - app/views/elections/_candidates_form.rhtml
Added a series of files so that elections can be created and edited and
[selectricity] / 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?