djangosnippets.org: Latest snippets tagged with 'edit-mode'https://djangosnippets.org/tags/edit-mode/2007-12-10T11:52:11.500436-06:00NewForms Readonly / Edit Pattern
2007-12-10T11:52:11.500436-06:00FreddiePhttps://djangosnippets.org/snippets/504/<p>This is a little base class that I use to display forms in a readonly mode. Providing a simple javascript on the front end to allow a user to click an <strong>edit</strong> link that will show/hide the actual form.</p>
<p>To use it simply inherit from it. Then in your templates …</p>
Freely redistributable