Sha256: 7d0512f7c66ff1efb367be07282115b3c90b6e75a0b58c2a4ce0fdc8a473ae28

Contents?: true

Size: 260 Bytes

Versions: 12

Compression:

Stored size: 260 Bytes

Contents

module SimpleCaptcha
  class CustomFormBuilder < Formtastic::SemanticFormBuilder

    private

    def simple_captcha_input(method, options)
      options.update :object => sanitized_object_name
      self.send(:show_simple_captcha, options)
    end
  end
end

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
wxianfeng_simple_captcha-0.5.0 lib/simple_captcha/formtastic.rb
wxianfeng_simple_captcha-0.4.0 lib/simple_captcha/formtastic.rb
wxianfeng_simple_captcha-0.3.0 lib/simple_captcha/formtastic.rb
wxianfeng_simple_captcha-0.2.0 lib/simple_captcha/formtastic.rb
wxianfeng_simple_captcha-0.1.0 lib/simple_captcha/formtastic.rb
wolcanus-simple_captcha-0.1.6 lib/simple_captcha/formtastic.rb
wolcanus-simple_captcha-0.1.5 lib/simple_captcha/formtastic.rb
wolcanus-simple_captcha-0.1.4 lib/simple_captcha/formtastic.rb
wolcanus-simple_captcha-0.1.3 lib/simple_captcha/formtastic.rb
galetahub-simple_captcha-0.1.3 lib/simple_captcha/formtastic.rb
galetahub-simple_captcha-0.1.1 lib/simple_captcha/formtastic.rb
nogara-simple_captcha-0.1.1 lib/simple_captcha/formtastic.rb