Class: Forms::Plain::FileInput
- Inherits:
-
FileInput
- Object
- FileInput
- Forms::Plain::FileInput
- Defined in:
- lib/forms/plain/file_input.rb
Overview
Bare .
Instance Method Summary collapse
Instance Method Details
#view_template ⇒ Object
7 8 9 10 11 |
# File 'lib/forms/plain/file_input.rb', line 7 def view_template attrs = unstyled_attributes(accept: @accept) attrs[:multiple] = true if @multiple input(type: "file", **attrs) end |