Class: KonoUtils::Object::Cell::Forms::Fields::Collection
- Inherits:
-
Base
- Object
- Trailblazer::Cell
- Base
- KonoUtils::Object::Cell::Forms::Fields::Collection
- Defined in:
- app/concepts/kono_utils/object/cell/forms/fields/collection.rb
Overview
Classe per la gestione del campo collection
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Base
#_prefixes, #base_class, #concept, #content_for_layout, #content_for_layout?, #destroy_custom_polymorphic_path, #edit_custom_polymorphic_path, #index_custom_polymorphic_path, #kono_user, #legacy_concept, logger, #model_gender, #new_custom_polymorphic_path, #show_custom_polymorphic_path, #title_del, #title_del_g, #title_edit_g, #title_mod, #title_new, #title_new_g, #title_newa, #title_show_g
Methods included from KonoUtilsBootstrapView4::ApplicationIconHelper
Instance Method Details
#base_field_options ⇒ Hash
11 12 13 |
# File 'app/concepts/kono_utils/object/cell/forms/fields/collection.rb', line 11 def super.merge(as: :select, collection: collection) end |
#collection ⇒ Array, Hash
16 17 18 |
# File 'app/concepts/kono_utils/object/cell/forms/fields/collection.rb', line 16 def collection .fetch(:collection, []) end |