1 <div id="title-header">
2 <span class="header">Edit Voter List</span>
3 <span class="subheader"></span>
6 <p id="unauth_notice" <%= 'style="display: none;"' if @election.authenticated %>>Anyone will be able to
7 vote in this election.</p>
9 <div id="voter_info_box" <%= 'style="display: none;"' unless @election.authenticated %>>
10 <%= render :partial => 'voter_list' %>
12 <% form_tag (:action => 'edit_voters', :id => @election.id) do %>
13 <%= render :partial => 'voters_form' %>
17 <%= check_box :election, :authenticated %> Only allow registered voters
19 <%= observe_field "election_authenticated",
20 :url => { :action => 'toggle_authenticated', :id => @election.id },
21 :complete => 'Element.toggle($("voter_info_box")); Element.toggle($("unauth_notice"));',
22 :with => 'authenticated' %>
24 <script type="text/javascript">
27 <div class="normal-header">
28 <span class="header">Continue</span>
29 <span class="subheader"></span>
32 <p>When you are done entering voters, please click the button below
33 to proceed to the next step.</p>
35 <%= button_to 'Proceed to Next Step!', :action => 'show', :id => @election.id %>