Class: Ecm::Links::CategoryDecorator
- Inherits:
-
Draper::Decorator
- Object
- Draper::Decorator
- Ecm::Links::CategoryDecorator
- Defined in:
- app/decorators/ecm/links/category_decorator.rb
Instance Method Summary collapse
Instance Method Details
#links_count_label ⇒ Object
5 6 7 |
# File 'app/decorators/ecm/links/category_decorator.rb', line 5 def links_count_label h.content_tag(:span, ecm_links_links_count, class: 'badge') end |
#locale_label ⇒ Object
9 10 11 |
# File 'app/decorators/ecm/links/category_decorator.rb', line 9 def locale_label h.content_tag(:span, locale, class: 'label label-info') end |
#tree_name ⇒ Object
13 14 15 |
# File 'app/decorators/ecm/links/category_decorator.rb', line 13 def tree_name name end |