How to show forms of formset as table

14 views
Skip to first unread message

Himika Biswas

unread,
May 4, 2015, 2:45:48 PM5/4/15
to django...@googlegroups.com
Hi,
I have a model in models.py - using which I have created a form in forms.py.
I am using formset in views.py
But all the fields of these forms of formset are shown vertically one after another like:

form1-field1
form1-field2
form1-field3
form2-field1
form2-field2
form2-field3
form3-field1
form3-field2
form3-field3

I want to show the forms as table like:

form1-field1    form1-field2   form1-field3
form2-field1    form2-field2   form2-field3
form3-field1    form3-field2   form3-field3

Can anyone help me to do this?

With thanks & regards,
Himika.
Reply all
Reply to author
Forward
0 new messages