]> projects.mako.cc - selectricity/blobdiff - app/views/election/edit.rhtml
The summary page now had color coded tables. Red = election, green = quickvote.
[selectricity] / app / views / election / edit.rhtml
index af0cb493e5fc6952a3ab44e386dae1b5a971af48..40aaad28d51b510674231ae236a77959967600ed 100644 (file)
@@ -1,6 +1,6 @@
-<h1><strong><%= @election.name %>:</strong> Edit Overview</h1>
+<h1><strong><%=h @election.name %>:</strong> Edit Overview</h1>
 
-<%= start_form_tag :action => 'update', :id => @election %>
+<% form_tag(:action => 'update', :id => @election) do %>
   <%= render :partial => 'overview_form' %>
   <%= submit_tag 'Done!' %>
-<%= end_form_tag %>
+<% end %>

Benjamin Mako Hill || Want to submit a patch?