diff --git a/addons/web_editor/static/src/js/backend/QWebPlugin.js b/addons/web_editor/static/src/js/backend/QWebPlugin.js index 897c811cb82..e10f1701fa7 100644 --- a/addons/web_editor/static/src/js/backend/QWebPlugin.js +++ b/addons/web_editor/static/src/js/backend/QWebPlugin.js @@ -201,9 +201,9 @@ export class QWebPlugin { for (const element of groupElements) { const optionElement = document.createElement('option'); if (element.hasAttribute('t-if')) { - optionElement.innerText = 'if'; + optionElement.innerText = `if: "${element.getAttribute("t-if")}"`; } else if (element.hasAttribute('t-elif')) { - optionElement.innerText = 'elif'; + optionElement.innerText = `elif: "${element.getAttribute("t-elif")}"`; } else if (element.hasAttribute('t-else')) { optionElement.innerText = 'else'; }