houdini/app/views/button_debug/embedded.html.erb

3 lines
257 B
Text
Raw Normal View History

<iframe frameborder='0' width='390' height='410' src="/nonprofits/<%= @np %>/donate?offsite=t&mode=embedded"></iframe>
<script>var iframe = document.getElementsByTagName('iframe')[0]; iframe.setAttribute("src", iframe.src + window.location.search)</script>