yamlform-handler-email-summary.html.twig in YAML Form 8
Default theme implementation for a summary of a form email handler.
Available variables:
- settings: The current configuration for this email handler:
- handler: The handler information, including:
- id: The handler plugin id.
- handler_id: The handler id.
- label: The handler label.
- description: The handler description.
File
templates/yamlform-handler-email-summary.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for a summary of a form email handler.
- *
- * Available variables:
- * - settings: The current configuration for this email handler:
- * - handler: The handler information, including:
- * - id: The handler plugin id.
- * - handler_id: The handler id.
- * - label: The handler label.
- * - description: The handler description.
- *
- * @ingroup themeable
- */
- #}
- {% if settings.debug %}<b class="color-error">{{ 'Debugging is enabled'|t }}</b><br/>{% endif %}
- <b>{{ 'To:'|t }}</b> {{ settings.to_mail }}<br/>
- {% if settings.cc_mail %}<b>{{ 'Cc:'|t }}</b> {{ settings.cc_mail }}<br/>{% endif %}
- {% if settings.bcc_mail %}<b>{{ 'Bcc:'|t }}</b> {{ settings.bcc_mail }}<br/>{% endif %}
- <b>{{ 'From:'|t }}</b> {{ settings.from_mail }} {% if settings.from_name %}<{{ settings.from_name }}>{% endif %}<br/>
- <b>{{ 'Subject:'|t }}</b> {{ settings.subject }}<br/>
- <b>{{ 'Settings:'|t }}</b> {{ settings.html ? 'HTML' : 'Plain text'|t }}{{ settings.html and settings.attachments ? '/' : '' }}{{ settings.attachments ? 'Attachments '|t : '' }}