X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/469888b30ec666c4f5e11f0be42cab539b2a7ab4..ac5e3489e8b886b7b8a7252ab56ddeb3d3bdadc7:/app/views/site/index.rhtml?ds=sidebyside diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index e4ef59c..92c38cc 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -3,21 +3,42 @@
+
+QuickVotes+ +QuickVotes are like polls: unstructured, non-anonymous and +without the complex features of HyperChad. They are the +quickest way to make a decision or to compare between voting +methods. + +<%= link_to "Create QuickVote.", :controller => 'quickvote', :action => 'create' %> +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+<% 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 %> |