Hello, If you have a form and pass it to the template you can print it like. <ul> {{ form.as_ul }} </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 each line {{ form.field.label_tag }}: {{ form.field }} Besides if you label is 100px widht then the ":" is at the wrong place. So what I would like to do is preformat each line. In PHP I would make a function and trow each line at this function that preformats my HTML input line How do I do this in Django... It should then look something like {{ form.some_field.as_line }} And pronto the whole line is preformated as I want to! Enquest --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---