You are here

confirm-form.html.twig in Open Social 8.8

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.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for confirm form.
  5. *
  6. * We add a card element around these forms.
  7. *
  8. * Available variables:
  9. * - form: The confirm form.
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. {% if attributes.hasClass('is_modal') or attributes.hasClass('layout-builder-remove-section') or attributes.hasClass('layout-builder-remove-block') %}
  15. {{ form }}
  16. {% else %}
  17. <div class="card">
  18. <div class="card__block">
  19. {{ form }}
  20. </div>
  21. </div>
  22. {% endif %}