Method: Inputs::AssetBox#to_html
- Defined in:
- app/models/inputs/asset_box.rb
#to_html ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'app/models/inputs/asset_box.rb', line 12 def to_html output = '' output += header_html if @options[:uploader] == :top output += uploader_html output += output += dialog_html if @options[:dialog] else output += output += dialog_html if @options[:dialog] output += uploader_html if @options[:uploader] end output += output.html_safe end |