Class: AssetBoxInput
- Inherits:
-
Object
- Object
- AssetBoxInput
- Defined in:
- lib/inputs/asset_box_input.rb,
lib/inputs/asset_box_input.rb,
lib/inputs/asset_box_input.rb
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options = nil) ⇒ Object
6 7 8 |
# File 'lib/inputs/asset_box_input.rb', line 6 def input( = nil) AssetBox.new(object, object_name, template, attribute_name, ).to_html end |
#to_html ⇒ Object
12 13 14 15 16 |
# File 'lib/inputs/asset_box_input.rb', line 12 def to_html input_wrapping do label_html << AssetBox.new(@object, @object_name, @template, @method, ).to_html end end |