Sha256: 09dd5bbdb8c5117f5d5eac21dabed34fb3e8a4915d56f0c9d3f080ec641ed878

Contents?: true

Size: 301 Bytes

Versions: 7

Compression:

Stored size: 301 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

7 entries across 7 versions & 1 rubygems

Version Path
glebtv-simple_captcha-0.5.1 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.4.6 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.4.5 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.4.4 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.4.3 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.4.1 lib/simple_captcha/hooks/simple_form.rb
glebtv-simple_captcha-0.3.1 lib/simple_captcha/hooks/simple_form.rb