]> projects.mako.cc - selectricity/blobdiff - app/views/election/show.rhtml
TODO has been modified to relfect bug changes already delt with. Also, autogenerated...
[selectricity] / app / views / election / show.rhtml
index 87529d18c1c41633fcff130b10e5b83c0b881534..fe522aac6214b8ae11a925820da466ffc54d01cb 100644 (file)
 <p>To embed your election, copy and paste the following code into your
 homepage:</p>
 
 <p>To embed your election, copy and paste the following code into your
 homepage:</p>
 
-<blockquote>
-<tt><pre><%= h("<iframe src='") + votepassword_url(:urlpassword => "open." + @election.id.to_s) + h("'") + "<br />" + h(" width='330px' height='370px'></iframe>") %></pre></tt>
-</blockquote>
+<pre><%= h("<iframe src='") + votepassword_url(:urlpassword => "open." + @election.id.to_s, :embed => "true") + h("' width='330px' height='370px'>") %>
+<%= h("</iframe>") %></pre>
 
 <% end %>
 
 <% end %>

Benjamin Mako Hill || Want to submit a patch?