form.as_table in django -
form = emailform() return render_to_response('books/send_mail.html', {'email_form': form})
when using form.as_table in template, fields getting rendered in same line : (email: subject: message: )
.
how can render these form fields in seperate lines using as_table. dont want use as_p or as_ul, because not have proper alignment.
you can use form.as_table output table rows (you'll need provide own tags)
Comments
Post a Comment