2 <p>Please enter candidates for <strong><%= @election.name %></strong>.</p>
4 <%= form_remote_tag(:update => "candidate_list",
5 :url => { :action => :add_candidate, :id => @election.id },
6 :position => "bottom" ) %>
8 <p>New candidate name:<br />
9 <%= text_field :newcandidate, :name %></p>
11 <p>Candidate description/platform (optional):<br />
12 <%= text_area :newcandidate, :description %></p>
14 <%= submit_tag "Add Candidate" %>