symfony/symfony-docs — pull request #2296 by carlwitt (2013-03-11 13:50:48+00:00)
Title: Improved example for passing data to form_label

Since, if passing a css class to form_label,
the user usually wants to specify a class for the label, I changed
'attr': {'class': 'foo'}
to
'label_attr': {'class': 'foo'}

Hopefully giving a more comfortable experience, when trying it first.