visible toggle and help commands on new page

This commit is contained in:
Andy Miller
2015-08-05 18:06:07 -06:00
parent 0687d2ff78
commit 29cb55e91c

View File

@@ -15,18 +15,18 @@ form:
title:
type: text
label: Page Title
help: "The title of the page"
validate:
required: true
folder:
type: text
label: Folder Name
help: "The folder name that will be stored in the filesystem for this page"
validate:
type: slug
required: true
route:
type: select
label: Parent Page
@@ -40,6 +40,7 @@ form:
type:
type: select
help: "The page type that translates into which twig template renders the page"
classes: fancy
label: Display Template
default: default
@@ -47,6 +48,20 @@ form:
validate:
required: true
visible:
type: toggle
label: Visible
help: "Determines if a page is visible in the navigation."
highlight: ''
default: ''
options:
'': Auto
1: Yes
0: No
validate:
type: bool
required: true
blueprint:
type: blueprint