-<% @edit = true %>
-<h1><strong><%= @election.name %>:</strong> Edit Voter Rolls</h1>
+<div id="title-header">
+ <span class="header">Edit Voter List</span>
+ <span class="subheader"></span>
+</div>
+<p id="unauth_notice" <%= 'style="display: none;"' if @election.authenticated %>>Anyone will be able to
+vote in this election.</p>
+
+<div id="voter_info_box" <%= 'style="display: none;"' unless @election.authenticated %>>
<%= render :partial => 'voter_list' %>
-<%= form_tag :action => 'edit_voters', :id => @election.id %>
+<% form_tag (:action => 'edit_voters', :id => @election.id) do %>
<%= render :partial => 'voters_form' %>
-<%= end_form_tag %>
+<% end %>
+</div>
+
+<%= check_box :election, :authenticated %> Only allow registered voters
+
+<%= observe_field "election_authenticated",
+ :url => { :action => 'toggle_authenticated', :id => @election.id },
+ :complete => 'Element.toggle($("voter_info_box")); Element.toggle($("unauth_notice"));',
+ :with => 'authenticated' %>
+
+<script type="text/javascript">
+</script>
+
+<div class="normal-header">
+ <span class="header">Continue</span>
+ <span class="subheader"></span>
+</div>
+
+<p>When you are done entering voters, please click the button below
+to proceed to the next step.</p>
-<%= button_to 'Done!', :action => 'show', :id => @election.id %>
+<%= button_to 'Proceed to Next Step!', :action => 'show', :id => @election.id %>