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

5 lines
279 B
Twig
Raw Permalink Normal View History

{# 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'] %}