[html-formfu] new 'object' support in TT template files
Carl Franks
fireartist at gmail.com
Wed Aug 13 22:01:49 BST 2008
Since we made the change to remove the Render* class objects, if you
want to edit the core templates, you've been limited to using the
hashref built during render_data().
That now adds an 'object' key with a reference to the original form or
element object, so you can access all form/element methods within the
template.
[% FOREACH field IN self.object.get_fields %]
foo
[% END %]
More information about the HTML-FormFu
mailing list