Sha256: 2eb2b14fde26ce56ee73406a00f339e4deeca565a103a17dba72ea658a77981c

Contents?: true

Size: 450 Bytes

Versions: 3

Compression:

Stored size: 450 Bytes

Contents

require 'app/helpers/form_helper'

module BootstrapDatepicker
  module DatepickerHelper

    include BootstrapDatepicker::FormHelper

    # Helper method that creates a datepicker input field
    def datepicker_input(object_name, method, options = {})
      datepicker(object_name, method, options)
    end
    
    def datetime_picker_input(object_name, method, options = {})
      datepicker(object_name, method, options, true)
    end
  
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bootstrap_datepicker-0.7 lib/app/helpers/datepicker_helper.rb
bootstrap_datepicker-0.6 lib/app/helpers/datepicker_helper.rb
bootstrap_datepicker-0.5 lib/app/helpers/datepicker_helper.rb