Re: newforms and templating

2007-03-14 Thread dballanc
You might take a look at BaseForm._html_output(). It's the function that does most of the work for .as_p() and so on. Using it as a guide you should be able to make your own render function to add to your form class. --~--~-~--~~~---~--~~ You received this messa

newforms and templating

2007-03-13 Thread enquest
Hello, If you have a form and pass it to the template you can print it like. {{ form.as_ul }} However if I want to split it in 3 "ul" I can't do because there is no means to split the form. So I need to render the form by hand for the special markup. However its a bit cummbersome to write ea