Class: Kuhsaft::AccordionItemBrick
Instance Method Summary
collapse
Methods inherited from ColumnBrick
#renders_own_childs?
Methods included from BrickList
included, #renders_own_childs?, #to_brick_item_id, #to_brick_list_id, #user_can_add_childs?
Methods inherited from Brick
#backend_label, #brick_list_type, #parents, #set_locale, #set_position, #to_edit_childs_partial_path, #to_edit_partial_path, #to_style_id
Instance Method Details
#collect_fulltext ⇒ Object
18
19
20
|
# File 'app/models/kuhsaft/accordion_item_brick.rb', line 18
def collect_fulltext
[super, caption].join(' ')
end
|
#to_style_class ⇒ Object
10
11
12
|
# File 'app/models/kuhsaft/accordion_item_brick.rb', line 10
def to_style_class
[super, 'accordion-group'].join(' ')
end
|
#user_can_delete? ⇒ Boolean
6
7
8
|
# File 'app/models/kuhsaft/accordion_item_brick.rb', line 6
def user_can_delete?
true
end
|
#user_can_save? ⇒ Boolean
14
15
16
|
# File 'app/models/kuhsaft/accordion_item_brick.rb', line 14
def user_can_save?
true
end
|