Sha256: 9057d0946b9fcbbf3c3f5009325372d58eb49fda5fd364c0dfd217a9e6c08c25

Contents?: true

Size: 290 Bytes

Versions: 11

Compression:

Stored size: 290 Bytes

Contents

require 'simple_form'

module SimpleCaptcha::SimpleForm
  class CkeditorInput < ::SimpleForm::Inputs::Base
    def input
      @builder.simple_captcha(input_html_options)
    end
  end
end

::SimpleForm::FormBuilder.map_type :simple_captcha, :to => SimpleCaptcha::SimpleForm::CkeditorInput

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
glebtv-simple_captcha-0.8.1 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.8.0 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.7.0 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.6.7 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.6.5 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.6.4 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.6.3 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.6.2 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.6.1 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.6.0 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.5.2 lib/simple_captcha/hooks/simple_form.rb