Sha256: ebb6f0062d9eb2fe96d3bbdbda27b0dc91566e23f268aa06401bda4fee1b98a2

Contents?: true

Size: 620 Bytes

Versions: 2

Compression:

Stored size: 620 Bytes

Contents

module ActiveScaffold
  module UnobtrusiveDatePickerHelpers
    def self.included(base)
      base.alias_method_chain :active_scaffold_stylesheets, :date_picker
      base.alias_method_chain :active_scaffold_javascripts, :date_picker
    end

    def active_scaffold_stylesheets_with_date_picker(frontend = :default)
      active_scaffold_stylesheets_without_date_picker(frontend) + unobtrusive_datepicker_stylesheets
    end

    def active_scaffold_javascripts_with_date_picker(frontend = :default)
      active_scaffold_javascripts_without_date_picker(frontend) + unobtrusive_datepicker_javascripts
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brisk-bills-0.8.2 vendor/plugins/active_scaffold/lib/bridges/unobtrusive_date_picker/lib/view_helpers.rb
brisk-bills-0.8.1 vendor/plugins/active_scaffold/lib/bridges/unobtrusive_date_picker/lib/view_helpers.rb