confirm-form.html.twig in Open Social 8.8
Same filename and directory in other branches
- 8.9 themes/socialbase/templates/form/confirm-form.html.twig
- 8 themes/socialbase/templates/form/confirm-form.html.twig
- 8.2 themes/socialbase/templates/form/confirm-form.html.twig
- 8.3 themes/socialbase/templates/form/confirm-form.html.twig
- 8.4 themes/socialbase/templates/form/confirm-form.html.twig
- 8.5 themes/socialbase/templates/form/confirm-form.html.twig
- 8.6 themes/socialbase/templates/form/confirm-form.html.twig
- 8.7 themes/socialbase/templates/form/confirm-form.html.twig
Theme override for confirm form.
We add a card element around these forms.
Available variables:
- form: The confirm form.
File
themes/socialbase/templates/form/confirm-form.html.twigView source
- {#
- /**
- * @file
- * Theme override for confirm form.
- *
- * We add a card element around these forms.
- *
- * Available variables:
- * - form: The confirm form.
- *
- * @ingroup themeable
- */
- #}
-
- {% if attributes.hasClass('is_modal') or attributes.hasClass('layout-builder-remove-section') or attributes.hasClass('layout-builder-remove-block') %}
- {{ form }}
- {% else %}
- <div class="card">
- <div class="card__block">
- {{ form }}
- </div>
- </div>
- {% endif %}