Changed quickvotes so that they take an identifier as opposed to just a
[selectricity] / app / views / quickvote / success.rhtml
index 982fd1236484a0f4e9bf8cadd3570b9b4ec87608..8d2baf6a0e06d579a7c3c08c32553a4caeaefa12 100644 (file)
@@ -1,14 +1,16 @@
-<% %>
+<% -%>
+<h2>QuickVote Created</h2>
 
-<h2>Vote Created</h2:>
+<p>Please direct voters to:</p>
+
+<blockquote><strong>
+  <%= quickvote_url( :ident => @quickvote.name ) -%>
+</strong></blockquote>
+
+<p>This vote will end on <em><%= @quickvote.enddate.strftime('%A, %B %d, %Y') %></em></p>
 
 <p>QuickVotes are open to the public but are not publicly listed on the
 HyperChad site. Voters do not need to log in or authenticate to
 participate in this election.</p>
 
-<p>Direct voters to:</p>
-<blockquote><strong><%= quickvote_url( :votename => @quickvote.name ) %></strong></blockquote>
-
-<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>
+<p><%= link_to "Jump to QuickVote", quickvote_url( :ident => @quickvote.name ) %></p>

Benjamin Mako Hill || Want to submit a patch?