Variety of small changes (mostly to properties) plus a few "in the
[selectricity-live] / app / views / election / edit_candidate.rhtml
old mode 100644 (file)
new mode 100755 (executable)
index 9bc9954..e465ae9
@@ -1,9 +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!" %>
+<%= error_messages_for :candidate %>
+<%= form_tag( { :action => :update_candidate, :id => @candidate.id },
+              :multipart => true ) %>
+<%= render :partial => 'candidate_form' %>
+<%= submit_tag "Save" %>
 <%= end_form_tag %>
 

Benjamin Mako Hill || Want to submit a patch?