X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/c933ff40da110253bc4c474d9c79c3a4ed98721d..34c44145a77003ac4fcabd0b865f039bc24f97f4:/app/views/election/edit_candidates.rhtml?ds=sidebyside diff --git a/app/views/election/edit_candidates.rhtml b/app/views/election/edit_candidates.rhtml index 0c416d5..837f755 100644 --- a/app/views/election/edit_candidates.rhtml +++ b/app/views/election/edit_candidates.rhtml @@ -1,14 +1,27 @@ -<% @edit = true %> -

<%= @election.name %>: Edit Candidates

+<%= render_partial 'progress', 'candidates' %> +

Edit/Add Candidates

-

The following are valid options or candidates in this election:

+<%= error_messages_for :candidate %> - -<%= render :partial => 'candidates_form' %> -<%= button_to "Done!", :action => 'show', :id => @election %> +<%= button_to "Done!", :action => 'new_voters', :id => @election %>