Class: Pageflow::Admin::EntryPublicationStateIndicator
- Inherits:
-
ViewComponent
- Object
- Arbre::Component
- ViewComponent
- Pageflow::Admin::EntryPublicationStateIndicator
- Defined in:
- app/views/components/pageflow/admin/entry_publication_state_indicator.rb
Overview
Instance Method Summary collapse
Instance Method Details
#build(entry) ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/views/components/pageflow/admin/entry_publication_state_indicator.rb', line 6 def build(entry) if entry.published? span(class: css_class(entry)) do span(tooltip_text(entry), class: 'tooltip_bubble') end end end |