{% if variant == 'toggle' %} {% comment %}Toggle row: label/description stacked on the left, control pushed right.{% endcomment %}
{% if label %} {{ label }} {% endif %} {% if description %} {{ description }} {% endif %}
{{ slot }}
{% if description_trailing %} {{ description_trailing }} {% endif %} {% if error and form and name %} {% endif %}
{% else %}
{% if label %} {{ label }} {% endif %} {% if description %} {{ description }} {% endif %} {{ slot }} {% if description_trailing %} {{ description_trailing }} {% endif %} {% if error and form and name %} {% endif %}
{% endif %}