Sha256: b27fab247e049d466daf8a8a8dfa42627dd31bc2d266165f2ea178a7905bed82
Contents?: true
Size: 424 Bytes
Versions: 4
Compression:
Stored size: 424 Bytes
Contents
module Uploader module Helpers module FormTagHelper include ActionView::Helpers::JavaScriptHelper # A helper that renders file upload container # # <%= uploader_field_tag :article, :photo %> # def uploader_field_tag(object_name, method_name, options = {}) uploader = FieldTag.new(object_name, method_name, self, options) uploader.to_s end end end end
Version data entries
4 entries across 4 versions & 1 rubygems