]> projects.mako.cc - selectricity/blob - app/views/election/_candidates_form.rhtml
814b38f29945295cb04af224505cb8f779410dc3
[selectricity] / app / views / election / _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?