silverstripe/sapphire — pull request #319 by willrossi (2012-04-14 05:42:34+00:00)
Title: Templated form field enhancements

As a follow up to https://github.com/silverstripe/sapphire/pull/266

This patch includes 2 main changes:

* Move CompositeField / FieldGroups to template files

* Remove explict $template definition and created FormField::_templates() which creates an array of possible form fields to use to render in