Class: MultifileInput
- Inherits:
-
SimpleForm::Inputs::CollectionInput
- Object
- SimpleForm::Inputs::CollectionInput
- MultifileInput
- Defined in:
- app/inputs/multifile_input.rb
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options = nil) ⇒ Object
2 3 4 5 6 7 |
# File 'app/inputs/multifile_input.rb', line 2 def input( = nil) = (, ) [:name] = "#{@builder.object_name}[#{attribute_name}][]" @builder.file_field(attribute_name, ) end |