{% extends "base.html" %} {% from "macros.html" import render_field, form_tag %} {% block content %} {% call form_tag(form) %}

{{ title|default("Email template", true) }}

{{ render_field(form.email_template_enabled, data_toggle="collapse", data_target="#template-row") }}
{{ render_field(form.email_template) }}
The available template fields are:
{BASE_URL}
The ORCID Hub base URL
{INCLUDED_URL}
The invitation URL or status update detail URL
{EMAIL}
Recepient email address
{LOGO}
Organisation logo
{MESSAGE}
Core message that will be sent to the recepient
{{ form.prefill(**{"data-toggle": "tooltip", "title": "Prefill or reset the email template"}) }} {#{ form.cancel }#} {{ form.save }} {{ form.send(**{"data-toggle": "tooltip", "title": "Send a test email to yourself"}) }}
{% endcall %} {% endblock %}