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

5 lines
273 B
Twig
Raw Normal View History

2023-01-09 02:00:36 +01:00
{# DEPRECATED: Do not override this file! Use forms/layouts/field/[FORM_LAYOUT]-field.html.twig instead #}
{% set layout = layout ?? form.layout ?? 'default' %}
{% extends ["forms/layouts/field/#{layout}-field.html.twig", 'forms/layouts/field/default-field.html.twig'] %}