mirror of
https://github.com/getgrav/grav.git
synced 2026-02-16 11:37:50 +01:00
visible toggle and help commands on new page
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user