How can I create my own form renderer, like as_p, as_table, etc? I see
that the form class provides _html_output to assist in formatting
markup like this, but that substitution technique does not provide
enough control for what I am doing, where certain properties of the
field in question affect the ordering of elements and not just the
value of element attributes or content.

I am tempted to write a template tag that renders a form to my
standards, but unfortunately _html_output handles a lot more than just
formatting a template string, so I think that I would have to maintain
a copy of a good bit of _html_output's logic in such a template tag.

Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to