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

bootstrap_form_errors template tag renders incorrect close button #18

Closed
akifd opened this issue Sep 29, 2021 · 1 comment
Closed

bootstrap_form_errors template tag renders incorrect close button #18

akifd opened this issue Sep 29, 2021 · 1 comment

Comments

@akifd
Copy link

akifd commented Sep 29, 2021

The current implementation of the template tag {% bootstrap_form_errors form %} renders incorrectly a button:

<button type="button" class="close" data-dismiss="alert" aria-label="close">×</button>

instead of:

<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>

See: https://getbootstrap.com/docs/5.1/components/alerts/#dismissing

@akifd
Copy link
Author

akifd commented Oct 3, 2021

My bad, was messing something up. Closing issue.

@akifd akifd closed this as completed Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant