Class: SimpleForm::Inputs::UploaderInput

Inherits:
Base
  • Object
show all
Defined in:
lib/uploader/hooks/simple_form.rb

Instance Method Summary collapse

Instance Method Details

#input(wrapper_options = nil) ⇒ Object



8
9
10
11
# File 'lib/uploader/hooks/simple_form.rb', line 8

def input(wrapper_options = nil)
  merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)
  @builder.uploader_field(attribute_name, merged_input_options)
end