mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-22 11:54:41 +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, [
|
$builder->add('showInTable', CheckboxType::class, [
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'label' => 'attachment.edit.show_in_table',
|
'label' => 'attachment.edit.show_in_table',
|
||||||
'attr' => [
|
|
||||||
'class' => 'form-control-sm',
|
|
||||||
],
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$builder->add('secureFile', CheckboxType::class, [
|
$builder->add('secureFile', CheckboxType::class, [
|
||||||
|
@ -113,9 +110,6 @@ class AttachmentFormType extends AbstractType
|
||||||
'label' => 'attachment.edit.secure_file',
|
'label' => 'attachment.edit.secure_file',
|
||||||
'mapped' => false,
|
'mapped' => false,
|
||||||
'disabled' => !$this->security->isGranted('@parts_attachments.show_private'),
|
'disabled' => !$this->security->isGranted('@parts_attachments.show_private'),
|
||||||
'attr' => [
|
|
||||||
'class' => 'form-control-sm',
|
|
||||||
],
|
|
||||||
'help' => 'attachment.edit.secure_file.help',
|
'help' => 'attachment.edit.secure_file.help',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
@ -138,9 +132,6 @@ class AttachmentFormType extends AbstractType
|
||||||
'label' => 'attachment.edit.download_url',
|
'label' => 'attachment.edit.download_url',
|
||||||
'mapped' => false,
|
'mapped' => false,
|
||||||
'disabled' => !$this->allow_attachments_download,
|
'disabled' => !$this->allow_attachments_download,
|
||||||
'attr' => [
|
|
||||||
'class' => 'form-control-sm',
|
|
||||||
],
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$builder->add('file', FileType::class, [
|
$builder->add('file', FileType::class, [
|
||||||
|
|
|
@ -99,16 +99,10 @@ class PartLotType extends AbstractType
|
||||||
$builder->add('instock_unknown', CheckboxType::class, [
|
$builder->add('instock_unknown', CheckboxType::class, [
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'label' => 'part_lot.edit.instock_unknown',
|
'label' => 'part_lot.edit.instock_unknown',
|
||||||
'attr' => [
|
|
||||||
'class' => 'form-control-sm',
|
|
||||||
],
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$builder->add('needs_refill', CheckboxType::class, [
|
$builder->add('needs_refill', CheckboxType::class, [
|
||||||
'label' => 'part_lot.edit.needs_refill',
|
'label' => 'part_lot.edit.needs_refill',
|
||||||
'attr' => [
|
|
||||||
'class' => 'form-control-sm',
|
|
||||||
],
|
|
||||||
'required' => false,
|
'required' => false,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue