summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.editor.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
-rw-r--r--addons/website/static/src/xml/website.editor.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index cdcba3295b1..bef9c4d97da 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -24,7 +24,8 @@
</div>
<div class="modal-body"><t t-raw="0"/></div>
<div class="modal-footer">
- <button type="button" class="btn btn-primary save">Save</button>
+ <button type="button" class="btn btn-primary save" t-if="!button">Save</button>
+ <button type="button" class="btn btn-primary save" t-if="button"><t t-raw="button"/></button>
<button type="button" class="btn hidden wait" disabled="disabled"/>
or
<a href="#" data-dismiss="modal" aria-hidden="true">Discard</a>