Class: Pageflow::Admin::EntryPublicationStateIndicator Private
- Inherits:
-
ViewComponent
- Object
- Arbre::Component
- ViewComponent
- Pageflow::Admin::EntryPublicationStateIndicator
- Defined in:
- app/views/components/pageflow/admin/entry_publication_state_indicator.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #build(entry) ⇒ Object private
Instance Method Details
#build(entry) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 10 11 12 13 |
# File 'app/views/components/pageflow/admin/entry_publication_state_indicator.rb', line 7 def build(entry) return unless entry.published? span(class: css_class(entry)) do span(tooltip_text(entry), class: 'tooltip_bubble') end end |