Fix product view template per Buefy refactoring

This commit is contained in:
Lance Edgar 2019-07-01 14:08:42 -05:00
parent bf9fff6065
commit ddc8bd2028

View file

@ -276,12 +276,8 @@
<%def name="extra_right_panels()"></%def> <%def name="extra_right_panels()"></%def>
<%def name="render_form_complete()"> <%def name="page_content()">
% if use_buefy: % if use_buefy:
${self.render_form()}
<script type="text/x-template" id="form-page-template">
<div style="display: flex; justify-content: space-between;">
<div style="display: flex; flex-direction: column;"> <div style="display: flex; flex-direction: column;">
<nav class="panel" id="main-product-panel"> <nav class="panel" id="main-product-panel">
@ -311,21 +307,9 @@
</div> </div>
<ul id="context-menu">
${self.context_menu_items()}
</ul>
</div>
</script>
<div id="form-page-app">
<form-page></form-page>
</div>
% else: % else:
## legacy / not buefy ## legacy / not buefy
<div style="display: flex; justify-content: space-between;">
<div style="display: flex; flex-direction: column;"> <div style="display: flex; flex-direction: column;">
<div class="panel" id="product-main"> <div class="panel" id="product-main">
@ -354,12 +338,6 @@
</div> </div>
</div> </div>
<ul id="context-menu">
${self.context_menu_items()}
</ul>
</div>
% endif % endif
% if buttons: % if buttons: