projects
/
selectricity
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b0796e
)
Added a link to open elections off the election's 'show' page
author
<jlsharps@mit.edu>
<>
Mon, 31 Mar 2008 22:09:58 +0000
(18:09 -0400)
committer
<jlsharps@mit.edu>
<>
Mon, 31 Mar 2008 22:09:58 +0000
(18:09 -0400)
app/views/election/show.rhtml
patch
|
blob
|
history
diff --git
a/app/views/election/show.rhtml
b/app/views/election/show.rhtml
index fe522aac6214b8ae11a925820da466ffc54d01cb..5a46af94a3008c55dbe29c05d81ca82578fd8543 100644
(file)
--- a/
app/views/election/show.rhtml
+++ b/
app/views/election/show.rhtml
@@
-41,6
+41,11
@@
</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?