Module: ActionView::Helpers::FormTagHelper
- Defined in:
- lib/h5_uploader.rb
Instance Method Summary collapse
Instance Method Details
#uploader_field_tag(name, *args) ⇒ Object
64 65 66 67 68 69 70 71 72 |
# File 'lib/h5_uploader.rb', line 64 def uploader_field_tag(name, *args) = args. Fg::H5Uploader. ,name js_tag = javascript_tag(Fg::H5Uploader.uploader_js_content(name,)) div_tag = content_tag(:div,content_tag(:noscript,file_field_tag(name)),:id => [:id]) div_tag << js_tag end |