class ActiveAdmin::Inputs::FileInput

Public Instance Methods

input_html() click to toggle source
# File lib/adminterface/extensions/inputs/file_input.rb, line 14
def input_html
  builder.file_field(method, input_html_options)
end
to_html() click to toggle source

@TODO: use custom component so we can change the translations in I18n YAML files

# File lib/adminterface/extensions/inputs/file_input.rb, line 8
def to_html
  input_wrapping do
    label_html << input_html
  end
end