Module: Releaf::Content::Builders::Dialog
Instance Method Summary
collapse
Methods included from Tree
#body_classes, #build_tree, #empty_body, #root_level, #section_body, #sort_tree, #sorted_tree, #tree, #tree_level, #tree_resource, #tree_resource_blocks, #tree_resource_children, #tree_resource_collapser, #tree_resource_name, #tree_resource_name_button
Instance Method Details
11
12
13
|
# File 'app/builders/releaf/content/builders/dialog.rb', line 11
def cancel_button
button(t('Cancel'), "ban", class: "secondary", data: {type: 'cancel'}, href: url_for( action: 'index' ))
end
|
7
8
9
|
# File 'app/builders/releaf/content/builders/dialog.rb', line 7
def
[cancel_button]
end
|