Added processing and presentatin of results.
[selectricity] / app / views / elections / edit_candidates.rhtml
1 <% @edit = true %>
2 <h1><strong><%= @election.name %>:</strong> Edit Candidates</h1>
3
4 <p>The following are valid options or candidates in this election:</p>
5
6 <ul>
7 <% @election.candidates.each do |candidate| %>
8    <% @candidate = candidate %>
9    <%= render :partial => 'candidate_line' %>
10 <% end %>
11 </ul>
12
13 <%= render :partial => 'candidates_form' %>
14 <%= button_to "Done!", :action => 'show', :id => @election %>

Benjamin Mako Hill || Want to submit a patch?