Sha256: 889cae8f6eb53735e714671a18a41a2f739c3163871dfb6541dc6f98d067ec50

Contents?: true

Size: 252 Bytes

Versions: 9

Compression:

Stored size: 252 Bytes

Contents

module SimpleCaptcha
  class CustomFormBuilder < Formtastic::FormBuilder

    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

9 entries across 9 versions & 5 rubygems

Version Path
galetahub-simple_captcha-0.1.5 lib/simple_captcha/formtastic.rb
galetahub-simple_captcha-0.1.4 lib/simple_captcha/formtastic.rb
loyal_simple_captcha-0.0.1 lib/simple_captcha/formtastic.rb
foco-simple_captcha-0.1.3 lib/simple_captcha/formtastic.rb
nahaylo-simple_captcha-0.2.0 lib/simple_captcha/formtastic.rb
the_captcha-0.1.3 lib/simple_captcha/formtastic.rb
the_captcha-0.1.1 lib/simple_captcha/formtastic.rb
the_captcha-0.1.0 lib/simple_captcha/formtastic.rb
galetahub-simple_captcha-0.1.2 lib/simple_captcha/formtastic.rb