You are here

civicrm-entity-entity-form.html.twig in CiviCRM Entity 8.3

Two column template for the CiviCRM entity add/edit form.

Available variables:

  • form: The form.

File

templates/civicrm-entity-entity-form.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Two column template for the CiviCRM entity add/edit form.
  5. *
  6. * Available variables:
  7. * - form: The form.
  8. *
  9. * @ingroup themeable
  10. */
  11. #}
  12. <div class="layout-civicrm-entity-form clearfix">
  13. <div class="layout-region layout-region-civicrm-entity-main">
  14. {{ form|without('advanced', 'footer', 'actions') }}
  15. </div>
  16. {% if (form.advanced) %}
  17. <div class="layout-region layout-region-civicrm-entity-secondary">
  18. {{ form.advanced }}
  19. </div>
  20. {% endif %}
  21. <div class="layout-region layout-region-civicrm-entity-footer">
  22. <div class="layout-region-civicrm-entity-footer__content">
  23. {{ form.footer }}
  24. {{ form.actions }}
  25. </div>
  26. </div>
  27. </div>