X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/657351a625ff99ca5f5aa5f32a6f070eb8e40ba8..277d9e323c1c9c525c1cea4590dc71bc56aeed06:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml old mode 100644 new mode 100755 index 5fce40f..eb009b3 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -3,28 +3,58 @@
-

Voters

-

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.

+

QuickVotes

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

QuickVotes are like polls: unstructured, non-anonymous and +without the complex features of Selectricity. They are the +quickest way to make a decision or to compare between voting +methods.

+ +

<%= link_to "Create a QuickVote", :controller => 'quickvote', :action => 'create' %>

+ +

Recent QuickVotes include:

+ +
    +<% for quickvote in @quickvotes %> +
  • <%= link_to (quickvote.shortdesc || "Unnamed"), quickvote_url(:votename => quickvote.name) %>
  • +<% end %> +
+ +

Selectricity Anywhere

+ +

You can also access Selectricity entirely over email or via SMS/text +messages from your mobile phone using Selectricity anywhere. Email <%= +link_to "vote\@mako.cc", "mailto:vote@mako.cc" %> with help in +the body for more information or read the <%= link_to "documentation +online", "selectricity-anywhere.html"%>.

-

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

-

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.

+

Voters

+ +

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.

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

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

+<% 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' %> +<% end %>