Module: PapermillFormtasticExtensions

Defined in:
lib/papermill/extensions.rb

Instance Method Summary collapse

Instance Method Details

#asset_upload_input(method, options) ⇒ Object



43
44
45
46
# File 'lib/papermill/extensions.rb', line 43

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



47
48
49
50
# File 'lib/papermill/extensions.rb', line 47

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



35
36
37
38
# File 'lib/papermill/extensions.rb', line 35

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



39
40
41
42
# File 'lib/papermill/extensions.rb', line 39

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