Add simple template hook for "before object helpers"
not sure how useful, but needed in one place, and hook makes for cleaner template inheritance
This commit is contained in:
parent
9f62c280de
commit
4030904d40
|
@ -34,6 +34,9 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="display: flex; align-items: flex-start;">
|
<div style="display: flex; align-items: flex-start;">
|
||||||
|
|
||||||
|
${before_object_helpers()}
|
||||||
|
|
||||||
<div class="object-helpers">
|
<div class="object-helpers">
|
||||||
${self.object_helpers()}
|
${self.object_helpers()}
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,6 +49,8 @@
|
||||||
</div>
|
</div>
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
|
<%def name="before_object_helpers()"></%def>
|
||||||
|
|
||||||
<%def name="render_this_page_template()">
|
<%def name="render_this_page_template()">
|
||||||
% if form is not Underined:
|
% if form is not Underined:
|
||||||
${self.render_form()}
|
${self.render_form()}
|
||||||
|
|
Loading…
Reference in a new issue