Class: Spotlight::TagListFormComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Spotlight::TagListFormComponent
- Defined in:
- app/components/spotlight/tag_list_form_component.rb
Overview
Create tag list for exhibit general/create form
Instance Attribute Summary collapse
-
#form ⇒ Object
readonly
Returns the value of attribute form.
Instance Method Summary collapse
-
#initialize(form:) ⇒ TagListFormComponent
constructor
A new instance of TagListFormComponent.
Constructor Details
#initialize(form:) ⇒ TagListFormComponent
Returns a new instance of TagListFormComponent.
8 9 10 11 |
# File 'app/components/spotlight/tag_list_form_component.rb', line 8 def initialize(form:) @form = form super end |
Instance Attribute Details
#form ⇒ Object (readonly)
Returns the value of attribute form.
6 7 8 |
# File 'app/components/spotlight/tag_list_form_component.rb', line 6 def form @form end |