datatracker/ietf
Henrik Levkowetz 68d4a58fa7 The fourth (and last?) take on a form from multiple models,
using pretty much the same template as for a non-form view.

This solution is less hackish than the previous one which
used the form.as_table() rendering of a form, and then split
the resulting html in chunks.

Instead, '''all''' the html has been moved out to a formfield
template, and a custom form class is generated which will render
the form elements using an indicated template.

 * Add form factory in utils.py (an old version which still has
   html in the code is there for history, but will be removed

 * Changes in ipr/views.py:new(), now subclassing one form with
   some class members being other form instances, matching the
   members used for the show() view

 * A fix in ipr/models, making an email field use models.EmailField

 * Reverting a number of changes in ipr/details.html which aren't
   needed any more, as well as in ipr/new.html; and adding
   ipr/formfield.html
 - Legacy-Id: 104
2007-05-06 05:35:46 +00:00
..
agenda Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
announcements Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
bin Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
database-notes Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
idindex Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
idtracker Implement most of view_id. 2007-05-04 21:33:56 +00:00
iesg Add author to iesg telechat minutes feed, to make it valid. 2007-05-04 21:49:21 +00:00
ipr The fourth (and last?) take on a form from multiple models, 2007-05-06 05:35:46 +00:00
liaisons Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
mailinglists Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
my Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
proceedings Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
redirects Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
templates The fourth (and last?) take on a form from multiple models, 2007-05-06 05:35:46 +00:00
.gitignore Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
__init__.py Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
manage.py Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00
middleware.py Added prettifying middleware (from djangosnippet 172) 2007-05-06 05:14:25 +00:00
settings.py Added prettifying middleware (from djangosnippet 172) 2007-05-06 05:14:25 +00:00
urls.py * Added henrik's IPs to local sites in settings.py 2007-05-05 08:58:22 +00:00
utils.py The fourth (and last?) take on a form from multiple models, 2007-05-06 05:35:46 +00:00
views.py Moving ietf to trunk/ietf 2007-05-04 12:37:28 +00:00