diff --git a/addons/website/static/src/components/views/theme_preview.xml b/addons/website/static/src/components/views/theme_preview.xml index a5f789cc6b4..f6d32f41029 100644 --- a/addons/website/static/src/components/views/theme_preview.xml +++ b/addons/website/static/src/components/views/theme_preview.xml @@ -1,18 +1,33 @@ - -
- + + + + + + +
+ +
+
+
diff --git a/addons/website/static/src/components/views/theme_preview_form.js b/addons/website/static/src/components/views/theme_preview_form.js index 0170cf2a627..6864e4650ef 100644 --- a/addons/website/static/src/components/views/theme_preview_form.js +++ b/addons/website/static/src/components/views/theme_preview_form.js @@ -72,6 +72,7 @@ class ThemePreviewFormController extends FormController { } } ThemePreviewFormController.components = { ...FormController.components, ViewButton }; +ThemePreviewFormController.template = 'website.ThemePreviewFormController'; class ThemePreviewFormControlPanel extends ControlPanel { /** @@ -92,10 +93,6 @@ ThemePreviewFormControlPanel.template = 'website.ThemePreviewForm.ControlPanel'; const ThemePreviewFormView = { ...formView, - display: { - controlPanel: {} - }, - buttonTemplate: 'website.ThemePreview.Buttons', Controller: ThemePreviewFormController, ControlPanel: ThemePreviewFormControlPanel, };