Class: Trestle::Form::Fields::MonthField

Inherits:
FormControl show all
Defined in:
lib/trestle/form/fields/month_field.rb

Instance Attribute Summary

Attributes inherited from Trestle::Form::Field

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

Instance Method Summary collapse

Methods inherited from FormControl

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

Methods inherited from Trestle::Form::Field

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

Constructor Details

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

Instance Method Details

#fieldObject



2
3
4
# File 'lib/trestle/form/fields/month_field.rb', line 2

def field
  builder.raw_month_field(name, options)
end