{% extends "base.html" %} {% from "components/ui.html" import page_header %} {% block content %} {% set breadcrumbs = [ {'text': 'Admin', 'url': url_for('admin.admin_dashboard')}, {'text': 'Email Templates', 'url': url_for('admin.list_email_templates')}, {'text': 'Create Template'} ] %} {{ page_header( icon_class='fas fa-envelope', title_text='Create Email Template', subtitle_text='Create a new email template for invoice emails', breadcrumbs=breadcrumbs ) }}

A unique name to identify this template

Optional description of this template

Editor
Live Preview

Preview will appear here

Use Jinja2 syntax for variables: {{ '{{ invoice.invoice_number }}' }}, {{ '{{ company_name }}' }}, {{ '{{ custom_message }}' }}

CSS styles for the email template. Will be automatically wrapped in <style> tags.

{{ _('Cancel') }}
{% endblock %} {% block extra_css %} {% endblock %} {% block scripts_extra %} {% endblock %}