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:
Lance Edgar 2022-12-02 12:16:51 -06:00
parent 9f62c280de
commit 4030904d40

View file

@ -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()}