Class: Phlexi::Form::Components::FileInput
- Includes:
- Concerns::UploadsFile
- Defined in:
- lib/phlexi/form/components/file_input.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods included from Concerns::ExtractsInput
Methods inherited from Base
Constructor Details
This class inherits a constructor from Phlexi::Form::Components::Base
Instance Method Details
#view_template ⇒ Object
9 10 11 12 |
# File 'lib/phlexi/form/components/file_input.rb', line 9 def view_template input(type: :hidden, name: attributes[:name], value: "", autocomplete: "off", hidden: true) if include_hidden? input(**attributes) end |