toscawidgets/tw2.core — pull request #48 by clsdaniel (2012-08-04 18:41:04+00:00)
Title: Jinja templates

Added filter support for jinja templates for a small filter which helps solve a blocking issue to add jinja templates to tw2.forms.

This filter as mentioned on the companion pull request on tw2.forms (https://github.com/toscawidgets/tw2.forms/pull/10), checks for special case html boolean attributes on a dictionary and returns a new dictionary with the correct values, such as the case where checked attribute has been inputed as True but in the final rendering it should be checked="checked".