From b508d5709455f789deaf8e63b55840c7b45ffec1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 7 Mar 2026 13:11:16 +0000 Subject: [PATCH] Rename form column Twig globals to shorter names: label_col, input_col, offset_col Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> --- config/packages/twig.yaml | 6 +++--- templates/admin/_delete_form.html.twig | 2 +- templates/admin/_export_form.html.twig | 2 +- templates/admin/base_admin.html.twig | 4 ++-- templates/admin/category_admin.html.twig | 6 +++--- templates/admin/footprint_admin.html.twig | 2 +- templates/admin/label_profile_admin.html.twig | 2 +- templates/admin/project_admin.html.twig | 4 ++-- templates/admin/storelocation_admin.html.twig | 2 +- templates/attachment_list.html.twig | 2 +- .../form/collection_types_layout.html.twig | 4 ++-- .../form/extended_bootstrap_layout.html.twig | 4 ++-- .../search/part_search.html.twig | 2 +- .../settings/provider_settings.html.twig | 4 ++-- templates/label_system/dialog.html.twig | 14 +++++++------- .../label_system/scanner/scanner.html.twig | 2 +- templates/log_system/log_list.html.twig | 2 +- templates/parts/edit/_eda.html.twig | 4 ++-- templates/parts/edit/_main.html.twig | 2 +- .../parts/edit/edit_form_styles.html.twig | 4 ++-- templates/parts/edit/edit_part_info.html.twig | 2 +- templates/parts/import/parts_import.html.twig | 2 +- .../parts/info/_stocktake_modal.html.twig | 16 ++++++++-------- templates/parts/info/_withdraw_modal.html.twig | 18 +++++++++--------- templates/parts/lists/_filter.html.twig | 2 +- templates/settings/settings.html.twig | 2 +- templates/users/_2fa_settings.html.twig | 18 +++++++++--------- templates/users/user_settings.html.twig | 2 +- 28 files changed, 68 insertions(+), 68 deletions(-) diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index 182f12ec..2e80b7e0 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -18,9 +18,9 @@ twig: 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' + label_col: 'col-sm-3 col-lg-2' + input_col: 'col-sm-9 col-lg-10' + offset_col: 'offset-sm-3 offset-lg-2' when@test: twig: diff --git a/templates/admin/_delete_form.html.twig b/templates/admin/_delete_form.html.twig index 86778f7a..4ea4e92a 100644 --- a/templates/admin/_delete_form.html.twig +++ b/templates/admin/_delete_form.html.twig @@ -5,7 +5,7 @@