Module: ActiveScaffold::Bridges::CalendarDateSelect::FormColumnHelpers

Defined in:
lib/active_scaffold/bridges/calendar_date_select/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



19
20
21
22
# File 'lib/active_scaffold/bridges/calendar_date_select/as_cds_bridge.rb', line 19

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