class SimpleForm::Inputs::AttachmentInput
Public Instance Methods
input(wrapper_options = nil)
click to toggle source
# File lib/refile/simple_form.rb, line 6 def input(wrapper_options = nil) refile_options = [:presigned, :direct, :multiple] merged_input_options = merge_wrapper_options(input_options.slice(*refile_options).merge(input_html_options), wrapper_options) @builder.attachment_field(attribute_name, merged_input_options) end