{#
/**
 * @file
 * Default theme implementation for a YAML form base container as html.
 *
 * Available variables:
 * - element: The YAML form element.
 * - title: The label for the container.
 * - value: The content for the container.
 * - options Associative array of options for element.
 *   - email: Flag to determine if element is for an email.
 */
#}
{% if options.email %}
<h3>{{ title }}</h3>
{{ value }}
{% else %}
<details open="open">
<summary role="button" aria-expanded="true" aria-pressed="true">{{ title }}</summary>
<div class="details-wrapper">{{ value }}</div>
</details>
{% endif %}
