module BootstrapRefile::AttachmentHelper::FormBuilder

Form builder extension

Public Instance Methods

bootstrap_attachment_field(method, options = {}) click to toggle source

@see BootstrapAttachmentHelper#attachment_field

# File lib/bootstrap_refile/rails/attachment_helper.rb, line 7
def bootstrap_attachment_field(method, options = {})
  self.multipart = true
  @template.bootstrap_attachment_field(@object_name, method, objectify_options(options))
end