【发布时间】:2018-09-28 04:32:33
【问题描述】:
我正在尝试使用最新版本的验证码,在视图上,我的验证码看起来像:
我希望它看起来像https://developers.google.com/recaptcha,这是一张图片:
在我的表格中,我有:
= form_for [refinery, :inquiries, @inquiry], html: { id: "contact-form" } do |f|
= recaptcha_tags display: { display: 'red'}
任何人都知道如何使用gem "recaptcha",https://github.com/ambethia/recaptcha 完成此操作
提前谢谢你。
【问题讨论】:
标签: ruby-on-rails captcha recaptcha