def make_input_group(self, html):
    if self.is_input_group:
        before = self.make_input_group_addon(self.addon_before_class, 'input-group-prepend', self.addon_before)
        after = self.make_input_group_addon(self.addon_after_class, 'input-group-append', self.addon_after)
        html = self.append_errors('{before}{html}{after}'.format(before=before, html=html, after=after))
        html = '<div class="input-group">{html}</div>'.format(html=html)
    return html
def make_input_group(self, html):
    if self.is_input_group:
        before = self.make_input_group_addon(self.addon_before_class, 'input-group-prepend', self.addon_before)
        after = self.make_input_group_addon(self.addon_after_class, 'input-group-append', self.addon_after)
        html = self.append_errors('{before}{html}{after}'.format(before=before, html=html, after=after))
        html = '<div class="input-group">{html}</div>'.format(html=html)
    return html