django-crispy-forms / django-crispy-forms/crispy-forms-bootstrap2

Accordion and AccordionGroup ignore css_class attribute

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

the same issue as in crispy-bootstrap5: https://github.com/django-crispy-forms/crispy-bootstrap5/issues/168

this layout:

```python
test_form.helper.layout = Layout(
Accordion(
AccordionGroup("one", "first_name", css_class="one two three"),
AccordionGroup("two", "password1", "password2"),
css_class="four five"
)
)
```

renders html which does not include css_class strings:
```html




one





first name*







```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.