From c2ecf9d7f477c12b7a6b47b477eb9d8ca74cdb35 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Mon, 27 Feb 2023 09:54:28 +0100 Subject: [PATCH] =?UTF-8?q?cantorpreistr=C3=A4ger=20feld?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/schulchronik/admin/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/schulchronik/admin/config.yml b/static/schulchronik/admin/config.yml index e5ed20dc..d892711c 100644 --- a/static/schulchronik/admin/config.yml +++ b/static/schulchronik/admin/config.yml @@ -160,6 +160,12 @@ collections: - {label: "Titel", name: "title", widget: "string", required: true} - {label: "Inhalt", name: "content", widget: "markdown", required: true} required: false + - label: "Cantorpreisträger" + name: "cantorpreisträger" + widget: "relation" + collection: "cantorpreis" + search_fields: ["jahr", "name"] + value_field: "name" - {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: true, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"} - {label: "Text", name: "body", widget: "markdown", required: false, default: ""} - name: "abiturienten"