projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleaned up minor issues from testing embeddable code
[selectricity]
/
app
/
views
/
election
/
show.rhtml
diff --git
a/app/views/election/show.rhtml
b/app/views/election/show.rhtml
index 87529d18c1c41633fcff130b10e5b83c0b881534..fe522aac6214b8ae11a925820da466ffc54d01cb 100644
(file)
--- a/
app/views/election/show.rhtml
+++ b/
app/views/election/show.rhtml
@@
-132,8
+132,7
@@
<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?