Class: Searches::Form

Inherits:
KonoUtils::Object::Cell::Form show all
Defined in:
app/concepts/kono_utils/object/cell/searches/form.rb

Overview

Classe variante della ricerca

Instance Method Summary collapse

Methods inherited from KonoUtils::Object::Cell::Form

#forms_options

Methods inherited from KonoUtils::Object::Cell::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

#fa_icon, #icon

Instance Method Details

#send_buttons_toObject

Destinazione bottoni nel layout



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

def send_buttons_to
  :search_buttons_container
end

#submit_buttons(form_builder:) ⇒ Array<Concept>

Parameters:

  • form_builder (SimpleForm::FormBuilder)

Returns:

  • (Array<Concept>)


16
17
18
# File 'app/concepts/kono_utils/object/cell/searches/form.rb', line 16

def submit_buttons(form_builder:)
  super + [concept("cell/buttons/reset_search", model.search_form_builder.to_model)]
end