From 736ea6fc1fe0c9bfc41f15b9873c7549cbcb0f63 Mon Sep 17 00:00:00 2001 From: Hoernschen Date: Wed, 19 Jun 2024 23:56:53 +0200 Subject: [PATCH] FIX admin collection config --- static/admin/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/admin/config.yml b/static/admin/config.yml index 75192da..b78ab70 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -17,11 +17,13 @@ collections: preview: false fields: - { label: 'Title', name: 'title', widget: 'string' } - - { label: 'Image', name: 'image', widget: 'object', fields: + - label: 'Image' + name: 'image' + widget: 'object' + fields: - { label: 'Image', name: 'url', widget: 'image' } - { label: 'Alt', name: 'alt', widget: 'string' } - { label: 'Caption', name: 'caption', widget: 'string' } - } - { label: 'Overview', name: 'overview', widget: 'string' } - { label: 'Tags', name: 'tags', widget: 'list' } - { label: 'Date', name: 'date', widget: 'datetime' }