fix: add render_grid_tag()
as separate def block for index templates
sometimes caller needs to inject custom attrs to the grid tag
This commit is contained in:
parent
740110f87f
commit
0ddf4d2ab9
|
@ -8,10 +8,14 @@
|
||||||
|
|
||||||
<%def name="page_content()">
|
<%def name="page_content()">
|
||||||
% if grid is not Undefined:
|
% if grid is not Undefined:
|
||||||
${grid.render_vue_tag()}
|
${self.render_grid_tag()}
|
||||||
% endif
|
% endif
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
|
<%def name="render_grid_tag()">
|
||||||
|
${grid.render_vue_tag()}
|
||||||
|
</%def>
|
||||||
|
|
||||||
<%def name="render_vue_templates()">
|
<%def name="render_vue_templates()">
|
||||||
${parent.render_vue_templates()}
|
${parent.render_vue_templates()}
|
||||||
${self.render_vue_template_grid()}
|
${self.render_vue_template_grid()}
|
||||||
|
|
Loading…
Reference in a new issue