module Refile::AttachmentHelper::FormBuilder
Form builder extension
Public Instance Methods
attachment_cache_field(method, options = {})
click to toggle source
@see AttachmentHelper#attachment_cache_field
# File lib/refile/rails/attachment_helper.rb, line 13 def attachment_cache_field(method, options = {}) self.multipart = true @template.attachment_cache_field(@object_name, method, objectify_options(options)) end
attachment_field(method, options = {})
click to toggle source
@see AttachmentHelper#attachment_field
# File lib/refile/rails/attachment_helper.rb, line 7 def attachment_field(method, options = {}) self.multipart = true @template.attachment_field(@object_name, method, objectify_options(options)) end