Module: ActiveScaffold::Bridges::CalendarDateSelectBridge::FormColumnHelpers

Defined in:
lib/active_scaffold/bridges/calendar_date_select/lib/as_cds_bridge.rb

Overview

Helpers that assist with the rendering of a Form Column

Instance Method Summary collapse

Instance Method Details

#active_scaffold_input_calendar_date_select(column, options) ⇒ Object



28
29
30
31
# File 'lib/active_scaffold/bridges/calendar_date_select/lib/as_cds_bridge.rb', line 28

def active_scaffold_input_calendar_date_select(column, options)
  options[:class] = "#{options[:class]} text-input".strip
  calendar_date_select("record", column.name, options.merge(column.options))
end