-
Hi, good day/. I am new here @ django-unicorn. i just wanna ask how you guys implement a simple modal using django-unicorn? |
Beta Was this translation helpful? Give feedback.
Answered by
MJPawluk
May 13, 2023
Replies: 1 comment
-
Hi nlmf123! I used bulma.io which has a modal component. To activate the component you have to add For the .py file of the component I did something like this:
And in the .html file for the component:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
adamghill
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi nlmf123!
I used bulma.io which has a modal component. To activate the component you have to add
is-active
to theclass
attribute of the modal.For the .py file of the component I did something like this:
And in the .html file for the component: