unclecheese/silverstripe-bootstrap-forms — pull request #7 by icecaster (2012-08-29 04:32:43+00:00)
Title: This allows to set custom classes on the field holder

This allows adding span and error classes to the holder

Eg.

TextField::create('FirstName', 'First name:')
->setCustomValidationMessage("Please provide your first name")
->setSpan(3)
->addHolderClass("span3"),
TextField::create('Surname', 'Last name:')
->setCustomValidationMessage("Please enter your last name")
->setSpan(3)
->addHolderClass("span3"),

...

not quite the twitter markup but it works nicely.

Also implemented form field validation errors