From 778300d9cb8637bd2479c62ad83379df46e61141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 30 Jul 2022 01:00:18 +0200 Subject: [PATCH] Fix visual issues with checkboxes. --- src/Form/AttachmentFormType.php | 9 --------- src/Form/Part/PartLotType.php | 6 ------ 2 files changed, 15 deletions(-) diff --git a/src/Form/AttachmentFormType.php b/src/Form/AttachmentFormType.php index 39f1ed02..018337c9 100644 --- a/src/Form/AttachmentFormType.php +++ b/src/Form/AttachmentFormType.php @@ -103,9 +103,6 @@ class AttachmentFormType extends AbstractType $builder->add('showInTable', CheckboxType::class, [ 'required' => false, 'label' => 'attachment.edit.show_in_table', - 'attr' => [ - 'class' => 'form-control-sm', - ], ]); $builder->add('secureFile', CheckboxType::class, [ @@ -113,9 +110,6 @@ class AttachmentFormType extends AbstractType 'label' => 'attachment.edit.secure_file', 'mapped' => false, 'disabled' => !$this->security->isGranted('@parts_attachments.show_private'), - 'attr' => [ - 'class' => 'form-control-sm', - ], 'help' => 'attachment.edit.secure_file.help', ]); @@ -138,9 +132,6 @@ class AttachmentFormType extends AbstractType 'label' => 'attachment.edit.download_url', 'mapped' => false, 'disabled' => !$this->allow_attachments_download, - 'attr' => [ - 'class' => 'form-control-sm', - ], ]); $builder->add('file', FileType::class, [ diff --git a/src/Form/Part/PartLotType.php b/src/Form/Part/PartLotType.php index 67decebb..304d6167 100644 --- a/src/Form/Part/PartLotType.php +++ b/src/Form/Part/PartLotType.php @@ -99,16 +99,10 @@ class PartLotType extends AbstractType $builder->add('instock_unknown', CheckboxType::class, [ 'required' => false, 'label' => 'part_lot.edit.instock_unknown', - 'attr' => [ - 'class' => 'form-control-sm', - ], ]); $builder->add('needs_refill', CheckboxType::class, [ 'label' => 'part_lot.edit.needs_refill', - 'attr' => [ - 'class' => 'form-control-sm', - ], 'required' => false, ]);