mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-21 11:24:40 +02:00
Fix visual issues with checkboxes.
This commit is contained in:
parent
1330bab199
commit
778300d9cb
2 changed files with 0 additions and 15 deletions
|
@ -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, [
|
||||
|
|
|
@ -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,
|
||||
]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue