mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-18 01:11:32 +00:00
Make form column layout configurable with global Twig variables
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
This commit is contained in:
parent
aed1c4dc09
commit
2769772877
28 changed files with 69 additions and 65 deletions
|
|
@ -17,6 +17,10 @@ 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
|
||||
form_label_col_class: 'col-sm-3 col-lg-2'
|
||||
form_input_col_class: 'col-sm-9 col-lg-10'
|
||||
form_offset_col_class: 'offset-sm-3 offset-lg-2'
|
||||
|
||||
when@test:
|
||||
twig:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue