Class: Trestle::Form::Fields::DateField

Inherits:
FormControl show all
Includes:
DatePicker
Defined in:
lib/trestle/form/fields/date_field.rb

Instance Attribute Summary

Attributes inherited from Trestle::Form::Field

#block, #builder, #name, #options, #template

Instance Method Summary collapse

Methods included from DatePicker

#default_icon, #normalize_options!

Methods inherited from FormControl

#defaults, #input_group, #input_group_addon, #normalize_options!, #render

Methods inherited from Trestle::Form::Field

#defaults, #errors, #form_group, #initialize, #normalize_options!, #readonly?, #render

Constructor Details

This class inherits a constructor from Trestle::Form::Field

Instance Method Details

#fieldObject


4
5
6
# File 'lib/trestle/form/fields/date_field.rb', line 4

def field
  builder.raw_date_field(name, options)
end