def make_input_group_addon(self, inner_class, outer_class, content):
    if (not content):
        return ''
    if inner_class:
        content = '<span class="{inner_class}">{content}</span>'.format(inner_class=inner_class, content=content)
    return '<div class="{outer_class}">{content}</div>'.format(outer_class=outer_class, content=content)
def make_input_group_addon(self, inner_class, outer_class, content):
    if (not content):
        return 
    if inner_class:
        content = '<span class="{inner_class}">{content}</span>'.format(inner_class=inner_class, content=content)
    return '<div class="{outer_class}">{content}</div>'.format(outer_class=outer_class, content=content)