Sha256: 37157fbfa0de0d26200ea16fd606fe57492ba9ec61336ff753bc6dfc776a661a

Contents?: true

Size: 334 Bytes

Versions: 120

Compression:

Stored size: 334 Bytes

Contents

class MultifileInput < SimpleForm::Inputs::CollectionInput
  def input(wrapper_options = nil)
    merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)

    merged_input_options[:name] = "#{@builder.object_name}[#{attribute_name}][]"
    @builder.file_field(attribute_name, merged_input_options)
  end
end

Version data entries

120 entries across 120 versions & 3 rubygems

Version Path
hyrax-2.9.6 app/inputs/multifile_input.rb
hyrax-2.9.5 app/inputs/multifile_input.rb
hyrax-2.9.4 app/inputs/multifile_input.rb
hyrax-2.9.3 app/inputs/multifile_input.rb
hyrax-2.9.2 app/inputs/multifile_input.rb
hyrax-2.9.1 app/inputs/multifile_input.rb
hyrax-2.9.0 app/inputs/multifile_input.rb
hyrax-2.8.0 app/inputs/multifile_input.rb
hyrax-2.7.2 app/inputs/multifile_input.rb
hyrax-2.7.1 app/inputs/multifile_input.rb
hyrax-2.7.0 app/inputs/multifile_input.rb
hyrax-2.6.0 app/inputs/multifile_input.rb
hyrax-3.0.0.pre.rc1 app/inputs/multifile_input.rb
hyrax-3.0.0.pre.beta3 app/inputs/multifile_input.rb
hyrax-2.5.1 app/inputs/multifile_input.rb
hyrax-2.5.0 app/inputs/multifile_input.rb
hyrax-3.0.0.pre.beta2 app/inputs/multifile_input.rb
hyrax-2.4.1 app/inputs/multifile_input.rb
hyrax-3.0.0.pre.beta1 app/inputs/multifile_input.rb
hyrax-2.4.0 app/inputs/multifile_input.rb