From: Date: Mon, 31 Mar 2008 22:09:58 +0000 (-0400) Subject: Added a link to open elections off the election's 'show' page X-Git-Url: https://projects.mako.cc/source/selectricity-live/commitdiff_plain/aea5fd0d77227ccbc154ebe6428a45410ce538bb Added a link to open elections off the election's 'show' page --- diff --git a/app/views/election/show.rhtml b/app/views/election/show.rhtml index fe522aa..5a46af9 100644 --- a/app/views/election/show.rhtml +++ b/app/views/election/show.rhtml @@ -41,6 +41,11 @@ +<% unless @election.authenticated -%> +

Link

+<%= (link_to ("Go Vote!", + :controller => 'voter', :action => 'index', :election_id => @election.id)).to_s %> +<% end -%>
Candidates