Class: Trestle::Form::Fields::EmailField

Inherits:
FormControl show all
Defined in:
lib/trestle/form/fields/email_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, #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/email_field.rb', line 2

def field
  builder.raw_email_field(name, options)
end