]> projects.mako.cc - selectricity-live/blobdiff - app/views/quickvote/index.rhtml
rebranded from votingbooth to hyperchad
[selectricity-live] / app / views / quickvote / index.rhtml
index 2c5bcd147067e28f9676a1c61041c380cb2f2117..84211ff77eb4c25e55bb324630769d57145f7b96 100644 (file)
@@ -1,10 +1,18 @@
 <% %>
-<h1>QuickVote: <em><%= @voter.election.name %></em></h1>
 
-<p><strong>Description:</strong></p>
-<blockquote><%= @voter.election.description %></blockquote>
+<% if @voter.election.shortdesc %>
+  <h1><%= @voter.election.shortdesc %></h1>
+<% else %>
+  <h1>QuickVote</h1>
+<% end %>
+
+<% if @voter.election.longdesc %>
+  <p><strong>Description:</strong></p>
+  <blockquote><%= @voter.election.longdesc %></blockquote>
+
+<h2>Vote</h2>
+<% end %>
 
-<h2>Vote in Election</h2>
 <% if @voter.session_id %>
   <p>You have already voted. You can:</p>
   

Benjamin Mako Hill || Want to submit a patch?