Added documentation to our twig class variables

This commit is contained in:
Jan Böhmer
2026-03-07 16:13:18 +01:00
parent 17e83a9da5
commit ebcda8b75a

View File

@@ -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: