Hi

The default formatter wraps error message in span and ads <br/>. I need
to remove that line brake for one of the errors.
So I need different formatters for every field.

I add error_formatters parameter in validate pylons decorator and return
response.content = [htmlfill.render(form_content, params, errors,
error_formatters=error_formatters)]

That didn't work. It seems that I need to set auto_insert_errors to False.
Before further breaking pylons code I considered better to ask if there
some way to do the task in my application code?
Something like pylons.decorators.htmlfill.**** ?

-- 
Best regards,
Antipin Aleksei


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to