Fix product view template per Buefy refactoring
This commit is contained in:
parent
bf9fff6065
commit
ddc8bd2028
|
@ -276,12 +276,8 @@
|
|||
|
||||
<%def name="extra_right_panels()"></%def>
|
||||
|
||||
<%def name="render_form_complete()">
|
||||
<%def name="page_content()">
|
||||
% 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;">
|
||||
|
||||
<nav class="panel" id="main-product-panel">
|
||||
|
@ -311,21 +307,9 @@
|
|||
|
||||
</div>
|
||||
|
||||
<ul id="context-menu">
|
||||
${self.context_menu_items()}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</script>
|
||||
<div id="form-page-app">
|
||||
<form-page></form-page>
|
||||
</div>
|
||||
|
||||
% else:
|
||||
## legacy / not buefy
|
||||
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
|
||||
<div style="display: flex; flex-direction: column;">
|
||||
|
||||
<div class="panel" id="product-main">
|
||||
|
@ -354,12 +338,6 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<ul id="context-menu">
|
||||
${self.context_menu_items()}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
% endif
|
||||
|
||||
% if buttons:
|
||||
|
|
Loading…
Reference in a new issue