grav/plugins/form/templates/forms/layouts/button.html.twig

5 lines
279 B
Twig
Raw Normal View History

2023-01-09 02:00:36 +01:00
{# 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'] %}