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
3 4 5 6 7 8 |
# File 'app/inputs/multifile_input.rb', line 3 def input( = nil) = (, ) [:name] = "#{@builder.object_name}[#{attribute_name}][]" @builder.file_field(attribute_name, ) end |