X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/f7aee769411a893c1059c529a220c0d25c72974f..d207da8dfc3f315f7758d1f5307c700ce4c25156:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index bd30dfe..5a68a6b 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -3,22 +3,43 @@
+ +

QuickVotes

+ +

QuickVotes are unstructured votes, more like polls, without +the voter verifiability, anonymity, and other more complex features of +HyperChad. They are the quickest way to make a decision using a variety +of preferential and non-preficial election methods, or to compare +between methods.

+ +

<%= link_to "Create QuickVote.", :action => 'create_quickvote' %>

+

Voters

-

Please enter your password/token to log in and vote:

+

If you have received an email with a token inviting you to vote in an +ongoing election, you can log in to vote using your token here.

<%= form_tag :controller => 'voter', :action => 'index' %> <%= text_field :vote, :password %> <%= submit_tag "Log In" %> <%= end_form_tag %> + +

<%= link_to 'Lost or forgot your token?', :controller => 'voter', :action => 'forgot_password' %>

-

Vote Administrators

-<%= render :controller => 'user', :action => 'login' %> -hi! + +<% if session[:user] %> + <%= render_partial 'user_summary' %> +<% else %> +

Election Administrators

+

You must have an account to start a new election or to administer an + existing vote. You can log in or create a new account below.

+ + <%= render_partial 'basic_login' %> +<% end %>