Class: KonoUtils::Object::Cell::Search

Inherits:
Base
  • Object
show all
Defined in:
app/concepts/kono_utils/object/cell/search.rb

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, #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

#fa_icon, #icon

Instance Method Details

#buttons_containerObject

Identifica il contenitore dei bottoni, sia a livello di id DOM che per quanto riguarda la destinazione dei bottoni durante il renderig della form



17
18
19
# File 'app/concepts/kono_utils/object/cell/search.rb', line 17

def buttons_container
  dom_id(model, 'buttons_container')
end

#collapse_container_idObject



6
7
8
# File 'app/concepts/kono_utils/object/cell/search.rb', line 6

def collapse_container_id
  dom_id(model, "search_form")
end

#data_loaded?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'app/concepts/kono_utils/object/cell/search.rb', line 10

def data_loaded?
  model.data_loaded?
end

#form_layoutObject

Andiamo a restituire il layout da utilizzare nel form



23
24
25
# File 'app/concepts/kono_utils/object/cell/search.rb', line 23

def form_layout
  layout_ns("cell/forms/containers/search_layout")
end