you need to append the classes to the existing ones (if any) rather than overwriting the ``class`` attribute entirely:

```jinja
{{ form_start(form, {attr: {class: attr.class|default('') ~ ' form-horizontal'}}) }}
```