8 – Add a class to form-item

This should be simple, but I can not find the answer.

I want the label and the text field on the same line. I tried this:

& # 39; odt-filter & # 39; => array (
& # 39; # type & # 39; => & # 39; textfield & # 39 ;,
& # 39; # title & # 39; => & # 39; Filter & # 39 ;,
# # Attributes & # 39; => array (
& Id; & # 39; id & # 39; => array (
& # 39; filter odt & # 39 ;,
)
& # 39; class & # 39; => array (
& # 39; online container & # 39 ;,
)
)
)

but then the class applies to the entry element, not the element that contains it and the label:

so that the class does not have the desired effedt effect. I can (and actually did, in another place) enclose the form element in a container to which I can apply the class, but since a container is already provided by default, I think there should be a way to add a class to it. .. it's not there?