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