1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

Merge pull request #6470 from marc1706/ticket/17100

[ticket/17100] Introduce twig macros for commonly used form elements
This commit is contained in:
Marc Alexander
2023-05-23 20:46:31 +02:00
committed by GitHub
42 changed files with 1390 additions and 409 deletions

View File

@@ -69,6 +69,13 @@ services:
template.twig.extensions.debug:
class: Twig\Extension\DebugExtension
template.twig.extensions.forms:
class: phpbb\template\twig\extension\forms
arguments:
- '@user'
tags:
- { name: twig.extension }
template:
class: phpbb\template\twig\twig
arguments: