global
def dropdown_show(object, attribute)
def dropdown_show(object, attribute) attr = object.send attribute presentation = "_presentation" presentation = "_dropdown_presentation" if attr.respond_to? "_dropdown_presentation" attribute_value = object.send(attribute).send(presentation) rescue "<i class='fi-plus'></i>".html_safe link_to_inline_edit object, attribute, attribute_value, from_callee: __callee__ end