]> _ Git - odl.git/commitdiff
wip #5002 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 4 Jan 2022 17:56:49 +0000 (18:56 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 4 Jan 2022 17:56:49 +0000 (18:56 +0100)
app/SubForms/ResourceDocument.php

index 5a39fab585c06dda95d158cc7ed3e86c25106ed8..4700b27d38d6321fbd7a4d0571a687d6c4f3e8e8 100644 (file)
@@ -13,7 +13,6 @@ class ResourceDocument extends SubForm
         parent::init();
         $this->addField('document_title', 'Text', 'Titre du document');
         $this->addField('document_subtitle', 'Textarea', 'Chapo du document');
-        $this->addField('document_pdf', Memo::class, 'PDF',['hint'=>'chargé dans la médiathèque']);
-        $this->addField('document_image', Images::class, 'Vignette');
+        $this->addField('document_pdf', Memo::class, 'PDF', ['hint' => 'chargé dans la médiathèque']);
     }
 }