programme.html.twig/.yalm/.md

This commit is contained in:
2021-03-15 17:26:53 +01:00
parent 0330bc5f4e
commit bc84eb05d5
7 changed files with 93 additions and 77 deletions
+16 -8
View File
@@ -19,12 +19,12 @@ form:
header.template:
default: modular/programmes
'@data-options': '\Grav\Common\Page\Pages::modularTypes'
features:
programmes:
type: tab
title: Programmes
fields:
header.features:
name: features
header.programmes:
name: programmes
type: list
label: Programmes
@@ -32,9 +32,17 @@ form:
.icon:
type: text
label: Icon
.header:
.nom_du_programme:
type: text
label: Header
.text:
type: text
label: Text
label: Nom du programme
.texte_de_presentation:
type: markdown
label: Texte de présentation du programme
validate:
type: textarea
.logo:
type: file
label: Logo
accept:
- image/*
- .svg