Class: ActiveScaffold::Bridges::CalendarDateSelect
- Inherits:
-
DataStructures::Bridge
show all
- Defined in:
- lib/active_scaffold/bridges/calendar_date_select.rb,
lib/active_scaffold/bridges/calendar_date_select/as_cds_bridge.rb
Defined Under Namespace
Modules: CalendarDateSelectBridge, FormColumnHelpers, SearchColumnHelpers
Class Method Summary
collapse
prepare, run
Class Method Details
2
3
4
|
# File 'lib/active_scaffold/bridges/calendar_date_select.rb', line 2
def self.install
require File.join(File.dirname(__FILE__), 'calendar_date_select/as_cds_bridge.rb')
end
|
.install? ⇒ Boolean
6
7
8
|
# File 'lib/active_scaffold/bridges/calendar_date_select.rb', line 6
def self.install?
super && ActiveScaffold.js_framework == :prototype
end
|
.javascripts ⇒ Object
14
15
16
|
# File 'lib/active_scaffold/bridges/calendar_date_select.rb', line 14
def self.javascripts
calendar_date_select_javascripts
end
|
.stylesheets ⇒ Object
10
11
12
|
# File 'lib/active_scaffold/bridges/calendar_date_select.rb', line 10
def self.stylesheets
calendar_date_select_stylesheets
end
|