diff --git a/src/templates/_edit.twig b/src/templates/_edit.twig index b42f3b6..01c8934 100644 --- a/src/templates/_edit.twig +++ b/src/templates/_edit.twig @@ -1,6 +1,14 @@ {% extends "_layouts/cp" %} {% import "_includes/forms" as forms %} +{% set element = tag %} + +{% set form = element.getFieldLayout().createForm(element) %} + +{% if tabs is not defined %} + {% set tabs = form.getTabMenu() %} +{% endif %} + {% block contextMenu %} {% if craft.app.getIsMultiSite() %}