flask show error popup code example Example: flask flash flash(u'Invalid password provided', 'error')