X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/657351a625ff99ca5f5aa5f32a6f070eb8e40ba8..3096416bbb8fdc92d7619aecc8237a57532d9066:/app/views/site/index.rhtml?ds=sidebyside diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 5fce40f..9fd332b 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -3,6 +3,16 @@
+
+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 a QuickVote", :controller => 'quickvote', :action => 'create' %> +VotersIf you have received an email with a token inviting you to vote in an @@ -19,12 +29,16 @@ ongoing election, you can log in to vote using your token here. |
-Vote 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. +<% if session[:user] %> + <%= render_partial 'user_summary' %> +<% else %> +Vote Administrators+You must have an account to start a new vote or to administer an + existing vote. You can log in or create a new account below. -<%= render_partial 'basic_login' %> + <%= render_partial 'basic_login' %> +<% end %> |