From ebcda8b75ade108ec6be71f07d4982c041749afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 7 Mar 2026 16:13:18 +0100 Subject: [PATCH] Added documentation to our twig class variables --- config/packages/twig.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index 06564349..860cef42 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -17,10 +17,11 @@ twig: available_themes: '%partdb.available_themes%' saml_enabled: '%partdb.saml.enabled%' part_preview_generator: '@App\Services\Attachments\PartPreviewGenerator' + # Bootstrap grid classes used for horizontal form layouts - col_label: 'col-sm-3 col-lg-2' - col_input: 'col-sm-9 col-lg-10' - offset_label: 'offset-sm-3 offset-lg-2' + col_label: 'col-sm-3 col-lg-2' # The column classes for form labels + col_input: 'col-sm-9 col-lg-10' # The column classes for form input fields + offset_label: 'offset-sm-3 offset-lg-2' # Offset classes for elements that should be aligned with the input fields (e.g., submit buttons) when@test: twig: