85 lines
2.7 KiB
YAML
85 lines
2.7 KiB
YAML
fields:
|
|
title:
|
|
label: 'rainlab.blog::lang.post.title'
|
|
placeholder: 'rainlab.blog::lang.post.title_placeholder'
|
|
type: text
|
|
slug:
|
|
label: 'rainlab.blog::lang.post.slug'
|
|
placeholder: 'rainlab.blog::lang.post.slug_placeholder'
|
|
preset:
|
|
field: title
|
|
type: slug
|
|
type: text
|
|
toolbar:
|
|
type: partial
|
|
path: post_toolbar
|
|
cssClass: collapse-visible
|
|
secondaryTabs:
|
|
fields:
|
|
content:
|
|
tab: 'rainlab.blog::lang.post.tab_edit'
|
|
type: RainLab\Blog\FormWidgets\BlogMarkdown
|
|
cssClass: 'field-slim blog-post-preview'
|
|
stretch: true
|
|
mode: split
|
|
locale:
|
|
tab: 'rainlab.blog::lang.post.tab_categories'
|
|
label: 'Language of Post'
|
|
span: left
|
|
type: dropdown
|
|
default: ru
|
|
options:
|
|
ru: Russian
|
|
en: English
|
|
translated_post:
|
|
label: 'Translated Post id'
|
|
type: number
|
|
tab: 'rainlab.blog::lang.post.tab_categories'
|
|
span: right
|
|
active_categories:
|
|
tab: 'rainlab.blog::lang.post.tab_categories'
|
|
type: relation
|
|
commentAbove: 'rainlab.blog::lang.post.categories_comment'
|
|
placeholder: 'rainlab.blog::lang.post.categories_placeholder'
|
|
author:
|
|
label: 'Post author'
|
|
span: auto
|
|
default: 'ORIENT news'
|
|
type: text
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
featured:
|
|
label: Featured
|
|
span: auto
|
|
type: checkbox
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
published_at:
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
label: 'rainlab.blog::lang.post.published_on'
|
|
span: left
|
|
cssClass: checkbox-align
|
|
type: datepicker
|
|
mode: datetime
|
|
trigger:
|
|
action: enable
|
|
field: published
|
|
condition: checked
|
|
published:
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
label: 'rainlab.blog::lang.post.published'
|
|
span: right
|
|
type: checkbox
|
|
excerpt:
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
label: 'rainlab.blog::lang.post.excerpt'
|
|
type: textarea
|
|
size: small
|
|
featured_image:
|
|
label: 'Featured image'
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
type: mediafinder
|
|
mode: image
|
|
span: storm
|
|
cssClass: col-xs-12
|
|
imageWidth: 300
|
|
imageHeight: 300
|