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
|
||||
@ -25,6 +25,11 @@ tabs:
|
||||
type: integer
|
||||
display: Price
|
||||
instructions: 'Prix de la place'
|
||||
-
|
||||
handle: sold_out
|
||||
field:
|
||||
type: toggle
|
||||
display: 'Sold out'
|
||||
sidebar:
|
||||
display: Sidebar
|
||||
sections:
|
||||
|
||||
@ -28,6 +28,11 @@ tabs:
|
||||
type: assets
|
||||
display: Logo
|
||||
instructions: 'Logo du sponsor'
|
||||
-
|
||||
handle: link
|
||||
field:
|
||||
type: link
|
||||
display: Link
|
||||
sidebar:
|
||||
display: Sidebar
|
||||
sections:
|
||||
|
||||
@ -143,6 +143,7 @@ tabs:
|
||||
display: Picture
|
||||
instructions: 'Image détourée du guest'
|
||||
max_files: 1
|
||||
mode: grid
|
||||
-
|
||||
handle: reveal
|
||||
field:
|
||||
|
||||
Reference in New Issue
Block a user