views:

38

answers:

1

I have installed ambethia's captcha plugin as a plugin in my rails 3 app. When I put the <%= recaptcha_tags %> in my view, it prints this on the page:

<script type="text/javascript" src="http://api.recaptcha.net/challenge?k=my_key&amp;error=expression"&gt;&lt;/script&gt; <noscript> <iframe src="http://api.recaptcha.net/noscript?k=my_other_key" height="300" width="500" frameborder="0"></iframe><br/> <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea> <input type="hidden" name="recaptcha_response_field" value="manual_challenge"></noscript> 

Is there a way that I can make this work in rails 3? I'd appreciate any help.

+1  A: 
<%=raw recaptcha_tags %>
James