我不知道如何去使用样式如何自定义Recaptcha Widget使用Ambethia Ruby Gem?
http://github.com/ambethia/recaptcha
我想调整的窗口小部件,以适应在侧边栏的表单自定义主题reCAPTCHA小工具。
如果我
<%= recaptcha_tags :display => {:theme => 'custom', :custom_theme_widget => 'recaptcha_widget'} %>
,并添加作为每
<div id="recaptcha_widget">
<div id="recaptcha_image"></div>
<input type="text" id="recaptcha_response_field" name="recaptcha_response_field" />
</div>
Recaptcha - Form Customization
我只得到响应输入字段,并且在源属性的错误消息的img标签
SRC =“http://optim.coral.cs.cmu.edu/error/TypeError_Result_of_expression_____recaptcha_response_field_____null__is_not_an_object_”
有没有人发现自定义主题的好办法使用Ambethia宝石reCAPTCHA小工具?