X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/68d36148578a124acbf34f5da6893b0a62663699..4e41e4ab171d4d47cdac0f8676bf78d36e6eb007:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index bb74bba..f92fb98 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -1,3 +1,4 @@ +<% %>

Voters

@@ -5,10 +6,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,7 +22,6 @@

Control Room

- <% if session[:user] %> <%= render :partial => 'user_summary' %> <% else %> @@ -46,7 +46,7 @@
  • <%= link_to( "Create a QuickVote", :controller => 'quickvote', :action => 'create') %>
  • -
  • <%= link_to( "Recent QuickVotes", :controller => 'quickvote', :action => 'my_quickvotes')%>
  • +
  • <%= link_to( "My Recent QuickVotes", :controller => 'quickvote', :action => 'my_quickvotes')%>

Recently created QuickVotes include: