Class: Qbrick::AccordionItemBrick
Instance Method Summary
collapse
Methods inherited from ColumnBrick
#renders_own_childs?
Methods included from BrickList
#allowed_brick_types, #brick_types, included, #renders_own_childs?, #to_brick_item_id, #to_brick_list_id, #uploader?, #user_can_add_childs?
Methods inherited from Brick
#available_display_styles, #backend_label, #brick_list_type, #cache_key, #has_siblings?, #parents, #partial_digest, #set_position, #to_edit_childs_partial_path, #to_edit_partial_path, #to_style_id, #translated_available_display_styles, #update_fulltext
Instance Method Details
#collect_fulltext ⇒ Object
17
18
19
|
# File 'app/models/qbrick/accordion_item_brick.rb', line 17
def collect_fulltext
[super, caption].join(' ')
end
|
#to_style_class ⇒ Object
9
10
11
|
# File 'app/models/qbrick/accordion_item_brick.rb', line 9
def to_style_class
[super, 'accordion-group'].join(' ')
end
|
#user_can_delete? ⇒ Boolean
5
6
7
|
# File 'app/models/qbrick/accordion_item_brick.rb', line 5
def user_can_delete?
true
end
|
#user_can_save? ⇒ Boolean
13
14
15
|
# File 'app/models/qbrick/accordion_item_brick.rb', line 13
def user_can_save?
true
end
|