1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
[model]
name = Field Types
label = {{ this.title }}
inherits = page
[fields.title]
label = Title
type = string
[fields.boolean1]
type = boolean
checkbox_label = If true, then some sample text will render.
default = false
[fields.boolean2]
type = boolean
checkbox_label = If true, then some sample text will render.
default = false
[fields.checkboxes]
label = Checkboxes
type = checkboxes
choices = choice1, choice2, choice3, choice4
choice_labels = choice_label1, choice_label2, choice_label3, choice_label4
[fields.date]
label = Date
type = date
[fields.datetime]
label = Datetime
type = datetime
[fields.float]
label = Float
type = float
[fields.floataddon]
label = FloatAddon
type = float
description = Percentage mark added
addon_label = %
[fields.flow]
label = Flow
type = flow
flow_blocks = text_and_html, text
[fields.int]
label = Int
type = integer
[fields.intaddon]
label = IntAddon
type = integer
description = px mark added
addon_label = px
[fields.html]
label = HTML
type = html
[fields.markdown]
label = Markdown
type = markdown
[fields.sort_key]
label = Sort_Key
type = sort_key
[fields.markdown]
label = Markdown
type = markdown
[fields.strings]
label = Strings
type = strings
[fields.text]
label = Text
type = text
|