Mostly worked on the candidate adding feature to include pictures and
[selectricity-live] / app / views / election / edit_candidate.rhtml
diff --git a/app/views/election/edit_candidate.rhtml b/app/views/election/edit_candidate.rhtml
new file mode 100644 (file)
index 0000000..9bc9954
--- /dev/null
@@ -0,0 +1,9 @@
+<h1>Editing <%= @candidate.name %></h1>
+
+<%= error_messages_on :candidate %>
+
+<%= form_tag :action => 'update_candidate', :id => @candidate.id %>
+  <%= render :partial => 'candidate_form' %>
+  <%= submit_tag "Done!" %>
+<%= end_form_tag %>
+

Benjamin Mako Hill || Want to submit a patch?