X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/ffec26b00fc14b92f82137e1e3c62ce78c93ea24..34c44145a77003ac4fcabd0b865f039bc24f97f4:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index bb74bba..046228d 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' %>