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, ]);