Open pawaclawczyk opened 10 years ago
HTML attributes are now passed in the label_attr variable for the form_label function.
label_attr
form_label
Before:
{{ form_label(form.name, 'Your Name', { 'attr': {'class': 'foo'} }) }}
After:
{{ form_label(form.name, 'Your Name', { 'label_attr': {'class': 'foo'} }) }}
HTML attributes are now passed in the
label_attr
variable for theform_label
function.Before:
After: