]> projects.mako.cc - selectricity-live/blobdiff - app/views/election/show.rhtml
Added a link to open elections off the election's 'show' page
[selectricity-live] / app / views / election / show.rhtml
index fe522aac6214b8ae11a925820da466ffc54d01cb..5a46af94a3008c55dbe29c05d81ca82578fd8543 100644 (file)
 
 </ul>
 
+<% unless @election.authenticated -%>
+<p><strong>Link</strong></p>
+<%= (link_to ("Go Vote!", 
+            :controller => 'voter', :action => 'index', :election_id => @election.id)).to_s %>
+<% end -%>
 
 <div class="normal-header">
   <span class="header">Candidates</span>

Benjamin Mako Hill || Want to submit a patch?