Sha256: ed316f83fcbb58b44bbff24ffe3bafe2fd05281c84694c2baa3a62b07d2f540f

Contents?: true

Size: 270 Bytes

Versions: 66

Compression:

Stored size: 270 Bytes

Contents

module ActiveAdmin
  module Inputs
    class DatepickerInput < ::Formtastic::Inputs::StringInput
      def input_html_options
        options = super
        options[:class] = [options[:class], "datepicker"].compact.join(' ')
        options
      end
    end
  end
end

Version data entries

66 entries across 66 versions & 4 rubygems

Version Path
activeadmin-0.6.6 lib/active_admin/inputs/datepicker_input.rb
activeadmin-0.6.5 lib/active_admin/inputs/datepicker_input.rb
activeadmin-0.6.4 lib/active_admin/inputs/datepicker_input.rb
activeadmin-0.6.3 lib/active_admin/inputs/datepicker_input.rb
activeadmin-0.6.2 lib/active_admin/inputs/datepicker_input.rb
activeadmin-0.6.1 lib/active_admin/inputs/datepicker_input.rb
aa-rails4-0.6.0 lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.141 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.136 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.135 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.134 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.133 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.132 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.131 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.129 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.128 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.126 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.125 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.124 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb
lalala-4.0.0.dev.123 vendor/deps/active_admin/lib/active_admin/inputs/datepicker_input.rb