Class: Ecm::Links::CategoryDecorator

Inherits:
Draper::Decorator
  • Object
show all
Defined in:
app/decorators/ecm/links/category_decorator.rb

Instance Method Summary collapse

Instance Method Details



5
6
7
# File 'app/decorators/ecm/links/category_decorator.rb', line 5

def links_count_label
  h.(:span, ecm_links_links_count, class: 'badge')
end

#locale_labelObject



9
10
11
# File 'app/decorators/ecm/links/category_decorator.rb', line 9

def locale_label
  h.(:span, locale, class: 'label label-info')
end

#tree_nameObject



13
14
15
# File 'app/decorators/ecm/links/category_decorator.rb', line 13

def tree_name
  name
end