From 53daf7ddfb0fa52b51c5624213f0b1f282fbd262 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 6 Jan 2022 19:56:33 +0100 Subject: [PATCH] wip #5007 --- app/Models/Asset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Asset.php b/app/Models/Asset.php index 2fb4a0c..4aa5dbc 100644 --- a/app/Models/Asset.php +++ b/app/Models/Asset.php @@ -48,7 +48,7 @@ class Asset extends CubistMagicAbstractModel ]); $this->addField('file_upload', Files::class, 'Fichier', ['maxFiles' => 100]); $this->addField('file_thumb', Files::class, 'Miniature', ['when' => ['type' => ['audio', 'video', 'pdf']], 'hint' => 'Image utilisée sur la page "Médiathèque" ou "Resources"']); - $this->addField('theme', SelectFromModel::class, 'Chapitres', ['when' => ['type' => ['audio', 'video']], 'optionsmodel' => AssetTheme::class, 'allows_null' => true, 'allows_multiple' => true, 'column' => true, 'hint' => 'Choisir un thème pour ajouter à la page "Médiathèque"']); + $this->addField('theme', SelectFromModel::class, 'Chapitres', ['when' => ['type' => ['audio', 'video']], 'optionsmodel' => AssetTheme::class, 'allows_null' => true, 'allows_multiple' => true,'hint' => 'Choisir un thème pour ajouter à la page "Médiathèque"']); $this->addField('code', Integer::class, 'Code', ['when' => ['type' => ['audio', 'video']], 'column' => true]); $this->addField('keywords', Tags::class, 'Mots-clé', ['column' => true]); } -- 2.39.5