Module: PapermillFormtasticExtensions

Defined in:
lib/papermill/extensions.rb

Instance Method Summary collapse

Instance Method Details

#asset_upload_input(method, options) ⇒ Object



49
50
51
52
# File 'lib/papermill/extensions.rb', line 49

def asset_upload_input(method, options)
  self.label(method, options_for_label(options)) +
  self.send(:asset_upload, method, options)
end

#assets_upload_input(method, options) ⇒ Object



53
54
55
56
# File 'lib/papermill/extensions.rb', line 53

def assets_upload_input(method, options)
  self.label(method, options_for_label(options)) +
  self.send(:assets_upload, method, options)
end

#image_upload_input(method, options) ⇒ Object



41
42
43
44
# File 'lib/papermill/extensions.rb', line 41

def image_upload_input(method, options)
  self.label(method, options_for_label(options)) +
  self.send(:image_upload, method, options)
end

#images_upload_input(method, options) ⇒ Object



45
46
47
48
# File 'lib/papermill/extensions.rb', line 45

def images_upload_input(method, options)
  self.label(method, options_for_label(options)) +
  self.send(:images_upload, method, options)
end