Skip to content

Commit ebcda8b

Browse files
committed
Added documentation to our twig class variables
1 parent 17e83a9 commit ebcda8b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

config/packages/twig.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ twig:
1717
available_themes: '%partdb.available_themes%'
1818
saml_enabled: '%partdb.saml.enabled%'
1919
part_preview_generator: '@App\Services\Attachments\PartPreviewGenerator'
20+
2021
# Bootstrap grid classes used for horizontal form layouts
21-
col_label: 'col-sm-3 col-lg-2'
22-
col_input: 'col-sm-9 col-lg-10'
23-
offset_label: 'offset-sm-3 offset-lg-2'
22+
col_label: 'col-sm-3 col-lg-2' # The column classes for form labels
23+
col_input: 'col-sm-9 col-lg-10' # The column classes for form input fields
24+
offset_label: 'offset-sm-3 offset-lg-2' # Offset classes for elements that should be aligned with the input fields (e.g., submit buttons)
2425

2526
when@test:
2627
twig:

0 commit comments

Comments
 (0)