{% set template = package('template').createPackage(theme_name) %} {% set component_path = template.getComponentPath(theme_component,'emails') %} {% set user = service('access').getUser() %}
{% if demo_mode != true %} {% if user.email is not empty %} {% endif %} {% else %}
{{ labels.demo }}
{% endif %}
{{ theme_component }}
..{{ component_path|relativePath }}
{{ labels.subject }}
{{ component('email::admin.editor.edit.code.form',{ theme: theme_name, component_name: theme_component, type: type }) }}