Sha256: 2c8e5828bb522daf2e973150d3ae14e09c47267bb815356c8702c197761699b8

Contents?: true

Size: 364 Bytes

Versions: 25

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true
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

25 entries across 25 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/inputs/multifile_input.rb
hyrax-5.0.0 app/inputs/multifile_input.rb
hyrax-5.0.0.rc3 app/inputs/multifile_input.rb
hyrax-5.0.0.rc2 app/inputs/multifile_input.rb
hyrax-5.0.0.rc1 app/inputs/multifile_input.rb
hyrax-3.6.0 app/inputs/multifile_input.rb
hyrax-4.0.0 app/inputs/multifile_input.rb
hyrax-4.0.0.rc3 app/inputs/multifile_input.rb
hyrax-4.0.0.rc2 app/inputs/multifile_input.rb
hyrax-4.0.0.rc1 app/inputs/multifile_input.rb
hyrax-3.5.0 app/inputs/multifile_input.rb
hyrax-4.0.0.beta2 app/inputs/multifile_input.rb
hyrax-3.4.2 app/inputs/multifile_input.rb
hyrax-4.0.0.beta1 app/inputs/multifile_input.rb
hyrax-3.4.1 app/inputs/multifile_input.rb
hyrax-3.4.0 app/inputs/multifile_input.rb
hyrax-3.3.0 app/inputs/multifile_input.rb
hyrax-3.2.0 app/inputs/multifile_input.rb
hyrax-3.1.0 app/inputs/multifile_input.rb
hyrax-3.0.2 app/inputs/multifile_input.rb