projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for voting in QuickVotes.
[selectricity-live]
/
app
/
views
/
site
/
success_quickvote.rhtml
diff --git
a/app/views/site/success_quickvote.rhtml
b/app/views/site/success_quickvote.rhtml
index 654e6d3d5408a8dc98f39adc8fee269764aba3b4..299edacdfc54cbc8745c5b7f13ad06271c4f0f48 100644
(file)
--- a/
app/views/site/success_quickvote.rhtml
+++ b/
app/views/site/success_quickvote.rhtml
@@
-9,7
+9,8
@@
HyperChad site. Voters do not need to log in or authenticate to
participate in this election.</p>
<p>Direct voters to:</p>
participate in this election.</p>
<p>Direct voters to:</p>
-<blockquote><strong><%=
url_for :action => 'quickvote', :id => @quickvote.id, :only_path => false
%></strong></blockquote>
+<blockquote><strong><%=
quickvote_url( :votename => @quickvote.name )
%></strong></blockquote>
<p>This vote will expire on <em><%= @quickvote.enddate %></em></p>
<p>This vote will expire on <em><%= @quickvote.enddate %></em></p>
+<p><%= link_to "Visit in or vote in your QuickVote", quickvote_url( :votename => @quickvote.name ) %></p>
Benjamin Mako Hill
||
Want to submit a patch?