Class: Uchi::Field::BelongsTo::Index
- Inherits:
-
Uchi::Field::Base::Index
- Object
- ViewComponent::Base
- Uchi::Field::Base::Component
- Uchi::Field::Base::Index
- Uchi::Field::BelongsTo::Index
- Includes:
- Helpers
- Defined in:
- app/components/uchi/field/belongs_to.rb
Instance Attribute Summary
Attributes inherited from Uchi::Field::Base::Component
Instance Method Summary collapse
Methods included from Helpers
#associated_record, #associated_repository, #label_for_associated_record
Methods inherited from Uchi::Field::Base::Index
Methods inherited from Uchi::Field::Base::Component
Constructor Details
This class inherits a constructor from Uchi::Field::Base::Component
Instance Method Details
#render? ⇒ Boolean
90 91 92 |
# File 'app/components/uchi/field/belongs_to.rb', line 90 def render? associated_record.present? end |