X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/fc0a6a8d7ea15bcdb27ebdd58721401c7045c6e0..5aba48adb5fc188efeddc38675abd5e1e3a88844:/app/views/election/edit_voters.rhtml diff --git a/app/views/election/edit_voters.rhtml b/app/views/election/edit_voters.rhtml old mode 100755 new mode 100644 index 429a907..77093fe --- a/app/views/election/edit_voters.rhtml +++ b/app/views/election/edit_voters.rhtml @@ -1,10 +1,35 @@ -<% @edit = true %> -

Edit Voter List

+
+ Edit Voter List + +
+

>Anyone will be able to +vote in this election.

+ +
> <%= 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 %> +
+ +<%= 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' %> + + + +
+ Continue + +
+ +

When you are done entering voters, please click the button below +to proceed to the next step.

-<%= button_to 'Done!', :action => 'show', :id => @election.id %> +<%= button_to 'Proceed to Next Step!', :action => 'show', :id => @election.id %>