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

Single div for inlines #249

Open
tolomea opened this issue Jun 16, 2020 · 2 comments
Open

Single div for inlines #249

tolomea opened this issue Jun 16, 2020 · 2 comments

Comments

@tolomea
Copy link

tolomea commented Jun 16, 2020

Before I go digging into the details of this, do you think it would be technically possible to move the script element and the default_order_field div inside the main inline-group div?

I ask because we have code that restructures the page and to do so it assumes it can pick up a whole inline as a single div and the template changes here turn an inline into two divs and a script.

@jrief
Copy link
Owner

jrief commented Jun 17, 2020

Hmm....
My intention is to keep the template of tabular- and stacked inlines as close as possible to the default provided by Django itself.

@tolomea
Copy link
Author

tolomea commented Jun 17, 2020

what I'm imagining is essentially the same template you have now, just move this div close


to the bottom, along with what ever other changes that necessitates, I know from experience that moving the the inline div breaks the ordering, which suggests that there's some javascript somewhere that knows these tags are next to each other

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

2 participants