1 <div id="voters" class="main-section">
2 <div id="voters-content">
5 <p>If you have received an email with a token inviting you to vote in
6 an ongoing election, you can log in to vote using your token below.</p>
8 <% form_tag(:controller => 'voter', :action => 'index') do %>
9 <p><%= text_field :vote, :password %></p>
10 <p><%= submit_tag "Log In" %></p>
13 <p><%= link_to 'Lost or forgot your token?', :controller => 'voter', :action => 'forgot_password' %></p>
15 <h3>SMS Interface</h3>
16 <p>For information on accessing Selectricity over email or via SMS/text messages from your mobile phone, email <%= link_to "vote\@mako.cc", "mailto:vote@mako.cc" %> with "help" in the body or read the <%= link_to "Selectricity Anywhere documentation", "selectricity-anywhere.html"%>.</p>
21 <div id="control-room" class="main-section">
22 <div id="control-room-content">
25 <% if session[:user] %>
26 <%= render :partial => 'user_summary' %>
29 <p>You must have an account to start a new vote or to administer an
30 existing vote. You can log in or create a new account below.</p>
32 <%= render_partial 'basic_login' %>
38 <div id="quickvotes" class="main-section">
39 <div id="quickvotes-content">
42 <p><em>QuickVotes</em> are like polls: unstructured, non-anonymous and
43 without the complex features of <em>Selectricity</em>. They are the
44 quickest way to make a decision or to compare between voting
48 <li><%= link_to( "Create a QuickVote", :controller => 'quickvote', :action => 'create') %></li>
49 <li><%= link_to( "Recent QuickVotes", :controller => 'quickvote', :action => 'my_quickvotes')%></li>
52 <p>Recently created <em>QuickVotes</em> include:</p>
54 <% for quickvote in @quickvotes %>
55 <li><%= link_to (h(quickvote.shortdesc) || "Unnamed"), quickvote_url(:ident => quickvote.name) %></li>
64 <h2>Selectricity <em>Anywhere</em></h2>
66 <p>You can also access Selectricity entirely over email or via SMS/text
67 messages from your mobile phone using Selectricity anywhere. Email <%=
68 link_to "vote\@mako.cc", "mailto:vote@mako.cc" %> with <tt>help</tt> in
69 the body for more information or read the <%= link_to "documentation
70 online", "selectricity-anywhere.html"%>.</p>
76 <td width="47%" valign="top">
80 <p>If you have received an email with a token inviting you to vote in an
81 ongoing election, you can log in to vote using your token here.</p>
83 <%= form_tag :controller => 'voter', :action => 'index' %>
84 <%= text_field :vote, :password %>
85 <%= submit_tag "Log In" %>
88 <p><%= link_to 'Lost or forgot your token?', :controller => 'voter', :action => 'forgot_password' %></p>
89 <% if session[:user] %>
90 <%= render :partial => 'user_summary' %>
92 <h2>Vote Administrators</h2>
93 <p>You must have an account to start a new vote or to administer an
94 existing vote. You can log in or create a new account below.</p>
96 <%= render_partial 'basic_login' %>