5fce40fe1d51bfeea3c4267c10a7a364c641e3a1
[selectricity] / app / views / site / index.rhtml
1 <% %>
2
3 <table width="auto" padding="5px">
4 <tr>
5 <td width="47%" valign="top">
6 <h2>Voters</h2>
7
8 <p>If you have received an email with a token inviting you to vote in an
9 ongoing election, you can log in to vote using your token here.</p>
10
11 <%= form_tag :controller => 'voter', :action => 'index' %>
12 <%= text_field :vote, :password %>
13 <%= submit_tag "Log In" %>
14 <%= end_form_tag %>
15
16 <p><%= link_to 'Lost or forgot your token?', :controller => 'voter', :action => 'forgot_password' %></p>
17 </td>
18
19 <td width="6%"></td>
20
21 <td width="47%" valign="top">
22 <h2>Vote Administrators</h2>
23
24 <p>You must have an account to start a new election or to administer an
25 existing vote. You can log in or create a new account below.</p>
26
27 <%= render_partial 'basic_login' %>
28 </td>
29 </tr>
30 </table>

Benjamin Mako Hill || Want to submit a patch?