jazzband / django-floppyforms

Full control of form rendering in the templates.
http://django-floppyforms.readthedocs.org/
Other
839 stars 145 forks source link

Let's have a distinct template for every widget (which extends `input.html`) #120

Closed gregmuellegger closed 9 years ago

gregmuellegger commented 10 years ago

It might be difficult to use a specific template for say all checkboxes in a project. It would be much easier if not most of the widgets would use the floppyforms/input.html as default template.

So every widget should have a distinct template name set, whichs only content would be

{% extends "floppyforms/input.html" %}

That way we can have full backwards compatibility.

See #113 for the origin of this idea.

gregmuellegger commented 9 years ago

Fixed as with #143.