grav/plugins/form/templates/forms/layouts/button.html.twig
2023-01-09 02:07:07 +01:00

5 lines
279 B
Twig

{# DEPRECATED: Do not override this file! Use forms/layouts/button/[FORM_LAYOUT]-button.html.twig instead #}
{% set layout = layout ?? form.layout ?? 'default' %}
{% extends ["forms/layouts/button/#{layout}-button.html.twig", 'forms/layouts/button/default-button.html.twig'] %}