In the middle of adding custom theme supports. Skin_pictures table added to store...
[selectricity-live] / app / views / election / new_voters.rhtml
index b750085e6706a95157a3ccf78fb3a21fcfb2628a..5f064462f3c8ceed2e28b27bd7c8befd14ea7b1d 100644 (file)
@@ -1,8 +1,9 @@
 <% @edit = true %>
-<h1><strong><%= @election.name %>:</strong> Enter List of Voter Email Addresses</h1>
+<h1><strong><%=h @election.name %>:</strong> Enter List of Voter Email Addresses</h1>
 
 <%= render :partial => 'voter_list' %>
 
-<%= form_tag :action => 'new_voters', :id => @election.id %>
+<% form_tag(:action => 'new_voters', :id => @election.id) do %>
 <%= render :partial => 'voters_form' %>
-<%= end_form_tag %>
+<% end %>
+<%= button_to "Done", :action => 'show', :id => @election.id %>

Benjamin Mako Hill || Want to submit a patch?