def append_errors(self, html):
    field_errors = self.field_errors
    if field_errors:
        errors_html = render_template_file('bootstrap4/field_errors.html', context={'field': self.field, 'field_errors': field_errors, 'layout': self.layout, 'show_help': self.show_help})
        html += errors_html
    return html
def append_errors(self, html):
    field_errors = self.field_errors
    if field_errors:
        errors_html = render_template_file('bootstrap4/field_errors.html', context={'field': self.field, 'field_errors': field_errors, 'layout': self.layout, 'show_help': self.show_help})
        html += errors_html
    return html