djangosnippets.org: Latest snippets tagged with 'layout'https://djangosnippets.org/tags/layout/2009-02-08T08:48:08.141517-06:00BetterForm with fieldsets and row_attrs
2009-02-08T08:48:08.141517-06:00carljmhttps://djangosnippets.org/snippets/1314/<p><strong>NOTE</strong>: Further development of this snippet will take place in the <a href="http://launchpad.net/django-form-utils">django-form-utils</a> project.</p>
<p>This snippet provides BetterForm and BetterModelForm classes which are subclasses of django.forms.Form and django.forms.ModelForm, respectively. BetterForm and BetterModelForm allow subdivision of forms into fieldsets which are iterable from a template, and also allow definition of row_attrs …</p>
Freely redistributableWTForm (What The Form)
2007-05-03T13:52:06.707355-05:00chrjhttps://djangosnippets.org/snippets/214/<p>WTForm is an extension to the django newforms library allowing
the developer, in a very flexible way, to layout the form
fields using fieldsets and columns</p>
<p>WTForm was built with the well-documented <a href="http://developer.yahoo.com/yui/grids/">YUI Grid CSS</a> in
mind when rendering the columns and fields. This should make
it easy to implement …</p>
Freely redistributable