Improve form factory
Add prepare errors templatetag