From 5271543996085e92b1cc351255cb88e902b01de1 Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Fri, 16 Aug 2019 20:35:41 +0200 Subject: [PATCH] Add Work history into cms config --- static/admin/config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/static/admin/config.yml b/static/admin/config.yml index 288ca6b..0d973a6 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -28,11 +28,17 @@ collections: fields: - { label: Title, name: title, widget: string } - { label: Body, name: body, widget: markdown } + - label: Work history + name: work_history + widget: list + fields: + - { label: Company name, name: name, widget: string } + - { label: Description, name: description, widget: markdown } - label: Projects name: projects widget: list fields: - - { label: Name, name: name, widget: string } + - { label: Project name, name: name, widget: string } - { label: Description, name: description, widget: markdown } - label: Image name: image