I have an app that uses django-forms-builder. I have got it to display the completed forms without the labels. How do I get it to match the labels next to the fields within my template.
urls.py url(r'^forms/get/(?P<form_entry_id>\d+)/$', 'gws.views.form', name='form'), views.py def form(request, form_entry_id=1): entry = FormEntry.objects.get(id=form_entry_id) field_entries = FieldEntry.objects.filter(entry=entry) published = Form.objects.published() return render_to_response('form/form.html', {'forms': FormEntry.objects.get(id=form_entry_id), 'form': field_entries }) form.html <table> {% for f in form %} <tr> <td>{{f.value}}</td> </tr> {% endfor %}</table> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/edd9d7ab-952a-4bc2-a8cc-7c573579e701%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.