Sha256: 12b4ac215642253d8499f0484c80759604851268e8de062f2bcbd2fbb85531aa

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

module SimpleCaptcha
  class CustomFormBuilder < (defined?(::Formtastic::FormBuilder) ? Formtastic::FormBuilder : ::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

1 entries across 1 versions & 1 rubygems

Version Path
pludoni-simple_captcha-0.1.6 lib/simple_captcha/formtastic.rb