Class: KonoUtils::Object::Cell::Forms::Fields::ReadOnly
- Inherits:
-
Base
- Object
- Trailblazer::Cell
- Base
- KonoUtils::Object::Cell::Forms::Fields::ReadOnly
- Defined in:
- app/concepts/kono_utils/object/cell/forms/fields/read_only.rb
Overview
Campo per readonly
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
#field_options ⇒ Object
9 10 11 |
# File 'app/concepts/kono_utils/object/cell/forms/fields/read_only.rb', line 9 def super.merge({ disabled: true }) end |
#show(&block) ⇒ Object
13 14 15 |
# File 'app/concepts/kono_utils/object/cell/forms/fields/read_only.rb', line 13 def show(&block) render "forms/fields/base" end |