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

Not working with Bootstrap? #14

Open
Sennik opened this issue Aug 17, 2023 · 0 comments
Open

Not working with Bootstrap? #14

Sennik opened this issue Aug 17, 2023 · 0 comments

Comments

@Sennik
Copy link

Sennik commented Aug 17, 2023

I use Bootstrap in my projects so I changed the templates to use the Bootstrap modal instead of the tailwind one but the modal is not opened when I load the page (It is in the source).

<div id="oreos-popup" class="modal fade" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h2 id="oreos-popup">
                    {{ trans key="statamic-oreos::messages.popup.headline" }}
                </h2>
                <div class="modal-body">
                    <p>
                        {{ trans key="statamic-oreos::messages.popup.intro" }}
                    </p>
                    {{ oreos:form description="true" details="true" }}
                </div>
            </div>
        </div>
    </div>
</div>

I assumed the us of the id oreos-popup should do the trick, but is doesn't. Is there a Bootstrap version available?

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