Created
June 30, 2009 18:50
-
-
Save tekin/138333 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% form_tag new_order_payment_path(@order), :id => 'reload_frame', :target => '_top', :method => 'get' do %> | |
<%= hidden_field_tag :verification_failed, true %> | |
<noscript> | |
<p>Verification failed, click the button below to try again.</p> | |
<%= submit_tag 'Try again' %> | |
</noscript> | |
<% end %> | |
<% javascript_tag do %> | |
window.onload=function(){ | |
document.getElementById('reload_frame').submit(); | |
} | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment