Yup
This commit is contained in:
55
resources/blueprints/collections/pages/rule.yaml
Normal file
55
resources/blueprints/collections/pages/rule.yaml
Normal file
@ -0,0 +1,55 @@
|
||||
title: Rule
|
||||
tabs:
|
||||
main:
|
||||
display: Main
|
||||
sections:
|
||||
-
|
||||
fields:
|
||||
-
|
||||
handle: title
|
||||
field:
|
||||
type: text
|
||||
required: true
|
||||
validate:
|
||||
- required
|
||||
-
|
||||
handle: rules
|
||||
field:
|
||||
buttons:
|
||||
- h2
|
||||
- h3
|
||||
- bold
|
||||
- italic
|
||||
- unorderedlist
|
||||
- orderedlist
|
||||
- removeformat
|
||||
- quote
|
||||
- anchor
|
||||
- image
|
||||
- table
|
||||
- underline
|
||||
- strikethrough
|
||||
remove_empty_nodes: false
|
||||
type: bard
|
||||
display: Rules
|
||||
instructions: 'Description des règles des tournois'
|
||||
sidebar:
|
||||
display: Sidebar
|
||||
sections:
|
||||
-
|
||||
fields:
|
||||
-
|
||||
handle: slug
|
||||
field:
|
||||
type: slug
|
||||
localizable: true
|
||||
validate: 'max:200'
|
||||
-
|
||||
handle: parent
|
||||
field:
|
||||
type: entries
|
||||
collections:
|
||||
- pages
|
||||
max_items: 1
|
||||
listable: false
|
||||
localizable: true
|
||||
Reference in New Issue
Block a user