Re: newforms : how to display as_ul from views.py

2007-01-15 Thread Waylan Limberg
On 1/15/07, Ramdas S <[EMAIL PROTECTED]> wrote: How do I get the templates to render the following form from the views.py given below as as unordered list, instead of the standard table formt. This is a simple four fields ContactForms, created out of the table Contacts. form.as_ul()

Re: newforms : how to display as_ul from views.py

2007-01-15 Thread Rubic
Ramdas, in your template: {{ form.as_ul }} -- Jeff Bauer Rubicon, Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: newforms : how to display as_ul from views.py

2007-01-15 Thread Honza Král
maybe I am missing something but why don't you use {{ form.as_ul }} in your template?? On 1/15/07, Ramdas S <[EMAIL PROTECTED]> wrote: How do I get the templates to render the following form from the views.py given below as as unordered list, instead of the standard table formt. This is a

newforms : how to display as_ul from views.py

2007-01-15 Thread Ramdas S
How do I get the templates to render the following form from the views.pygiven below as as unordered list, instead of the standard table formt. This is a simple four fields ContactForms, created out of the table Contacts. Currently it is emmiting the HTML as as a a table class. def