def custom_error_formatter(error): return '<p><span class="pylons-error">%s</span></p>\n' % html_quote(error)
def custom_formatter(error): return '<span class="custom-message">%s</span>' % ( htmlfill.html_quote(error))
def custom_formatter(error): """Custom error formatter""" return '<span class="help-inline">%s</span>' % ( htmlfill.html_quote(error) )
def _error_formatter(error): """ `FormEncode` default error formating in templates.""" return """<span class="error-message"> %s</span>""" % ( htmlfill.html_quote(error))
def u_error_formatter(error): return '<div class="error-container"><span class="error-message">%s</span></div>\n' % ( htmlfill.html_quote(error))
def tw_bootstrap_error_formatter(error): return '<span class="help-error">%s</span>' % htmlfill.html_quote(error)
def tw_bootstrap_warning_error_formatter(error): return """ <div class="alert-message block-message warning"> <p>%s</p> </div> """ % htmlfill.html_quote(error)