Class: Decidim::UploadModalCell
- Inherits:
-
ViewModel
- Object
- ViewModel
- Decidim::UploadModalCell
- Includes:
- Cell::ViewModel::Partial, RedesignHelper, ERB::Util, LayoutHelper
- Defined in:
- decidim-core/app/cells/decidim/upload_modal_cell.rb
Overview
This cell creates the necessary elements for dynamic uploads.
Instance Method Summary collapse
Methods included from RedesignHelper
#data_modal_open_key, #data_modal_remote_key, #modal_open_key, #modal_remote_key, #redesigned_cell_name
Instance Method Details
#show ⇒ Object
13 14 15 16 17 |
# File 'decidim-core/app/cells/decidim/upload_modal_cell.rb', line 13 def show return unless resource_name render end |