Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Plugin's editing form template contains no sekizai's render_block #1410

Closed
neoascetic opened this Issue Aug 23, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

neoascetic commented Aug 23, 2012

When I want just to create my plugin with some pretty styles/other media, I have no easy way to display it (pretty) rendered in plugin editing form.

For example, see cmsplugin_filer_video template. There they have some 'addtoblock' tags and tries to include js dependencies into template. It's works well while rendering plugin for client, but not in admin.

Yes, it is possible to create my own change_form.html template, but it definetly not easiest way.

Contributor

neoascetic commented Aug 27, 2012

Ok, I found that I can use Media subclass, but how about DRY?

Collaborator

ojii commented Jun 3, 2013

Since the admin uses Media and we'd have to overwrite too many things (in an incompatible way) to make sekizai work in the admin I'll have to unfortunately close this ticket.

@ojii ojii closed this Jun 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment