From aea5fd0d77227ccbc154ebe6428a45410ce538bb Mon Sep 17 00:00:00 2001 From: Date: Mon, 31 Mar 2008 18:09:58 -0400 Subject: [PATCH] Added a link to open elections off the election's 'show' page --- app/views/election/show.rhtml | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5