Class: ActionView::Helpers::FormBuilder
- Inherits:
-
Object
- Object
- ActionView::Helpers::FormBuilder
- Includes:
- FormTagHelper
- Defined in:
- lib/papermill/form_builder.rb
Instance Method Summary collapse
- #asset_upload(method, options = {}) ⇒ Object
- #assets_upload(method, options = {}) ⇒ Object
- #image_upload(method, options = {}) ⇒ Object
- #images_upload(method, options = {}) ⇒ Object
Instance Method Details
#asset_upload(method, options = {}) ⇒ Object
7 8 9 |
# File 'lib/papermill/form_builder.rb', line 7 def asset_upload(method, = {}) papermill_upload_tag method, { :gallery => false, :thumbnail => false }.update() end |
#assets_upload(method, options = {}) ⇒ Object
4 5 6 |
# File 'lib/papermill/form_builder.rb', line 4 def assets_upload(method, = {}) papermill_upload_tag method, { :thumbnail => false }.update() end |
#image_upload(method, options = {}) ⇒ Object
13 14 15 |
# File 'lib/papermill/form_builder.rb', line 13 def image_upload(method, = {}) papermill_upload_tag method, { :gallery => false }.update() end |
#images_upload(method, options = {}) ⇒ Object
10 11 12 |
# File 'lib/papermill/form_builder.rb', line 10 def images_upload(method, = {}) papermill_upload_tag method, end |