X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/ffec26b00fc14b92f82137e1e3c62ce78c93ea24..a6c1e9a2e0cb4243fd48b83af0281eccef408b04:/app/views/site/index.rhtml?ds=sidebyside diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index bb74bba..e0e34a2 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -5,10 +5,10 @@

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 below.

- <%= form_tag :controller => 'voter', :action => 'index' %> + <% form_tag(:controller => 'voter', :action => 'index') do %>

<%= text_field :vote, :password %>

<%= submit_tag "Log In" %>

- <%= end_form_tag %> + <% end %>

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

@@ -21,15 +21,14 @@

Control Room

- <% if session[:user] %> <%= render :partial => 'user_summary' %> <% else %>

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 %>
@@ -46,7 +45,7 @@

Recently created QuickVotes include: