yaakovLowenstein / hx-requests

A package to facilitate the use of HTMX with Django
MIT License
55 stars 6 forks source link

Blocks do not work with modals #94

Open yaakovLowenstein opened 3 months ago

yaakovLowenstein commented 3 months ago

this is bec the template is the modal, need to build in that it should work

yaakovLowenstein commented 2 months ago

I guess the use case would be where you have a template that you dont want to need to split into includes so you want to use a specific body template but only part of that template as the body. :thinking:

yaakovLowenstein commented 2 months ago

Not going to be possible because the body is just an include in the modal template that you define. Should document this deficiency. Going to leave this issue open until its documented

sgordon16 commented 2 months ago

We can change the body to be rendered html in the context instead of an include.