Class: Phlexi::Form::Components::Input

Inherits:
Base
  • Object
show all
Includes:
Concerns::HandlesInput
Defined in:
lib/phlexi/form/components/input.rb

Direct Known Subclasses

Checkbox, FileInput, RadioButton

Instance Attribute Summary

Attributes inherited from Base

#attributes, #field

Instance Method Summary collapse

Methods included from Concerns::ExtractsInput

#extract_input

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Phlexi::Form::Components::Base

Instance Method Details

#view_templateObject



11
12
13
# File 'lib/phlexi/form/components/input.rb', line 11

def view_template
  input(**attributes)
end