class AssetBoxInput

Public Instance Methods

input(wrapper_options = nil) click to toggle source
# File lib/inputs/asset_box_input.rb, line 6
def input(wrapper_options = nil)
  AssetBox.new(object, object_name, template, attribute_name, options).to_html
end
to_html() click to toggle source
# File lib/inputs/asset_box_input.rb, line 12
def to_html
  input_wrapping do
    label_html << AssetBox.new(@object, @object_name, @template, @method, @options).to_html
  end
end