Module: ActsAsTextcaptcha::TextcaptchaHelper
- Defined in:
- lib/acts_as_textcaptcha/textcaptcha_helper.rb
Instance Method Summary collapse
Instance Method Details
#textcaptcha_fields(form, &block) ⇒ Object
5 6 7 |
# File 'lib/acts_as_textcaptcha/textcaptcha_helper.rb', line 5 def textcaptcha_fields(form, &block) build_textcaptcha_form_elements(form, &block) if form.object.perform_textcaptcha? && form.object.textcaptcha_key end |