Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormActions ignoring css_class argument #143

Closed
mschoettle opened this issue Apr 27, 2023 · 0 comments · Fixed by #187
Closed

FormActions ignoring css_class argument #143

mschoettle opened this issue Apr 27, 2023 · 0 comments · Fixed by #187

Comments

@mschoettle
Copy link
Contributor

Using FormActions with providing a css_class argument has no effect.

Usage

FormActions(
    CancelButton('/'),
    Submit('submit', _('Save')),
    css_class='d-flex justify-content-end',
),

Output

<div class="mb-3">
  <div class=""> 
    button1
    button2
  </div>
</div>

Comparing the bootstrap4 and bootstrap5 template shows that the css_class part is completely missing. In addition, I am wondering whether the inner <div> could be omitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant