projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a link to open elections off the election's 'show' page
[selectricity]
/
app
/
views
/
election
/
show.rhtml
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>
</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>
<div class="normal-header">
<span class="header">Candidates</span>
Benjamin Mako Hill
||
Want to submit a patch?