Sha256: 953272b3a357fb958d756e83ce5f06f4df3a66187d224142e6d6dd52d1613dee

Contents?: true

Size: 1.82 KB

Versions: 2

Compression:

Stored size: 1.82 KB

Contents

# Human readable name of this type
name: Messages

# Lowercase, underscored handle used to access this type
slug: messages

# Explanatory text displayed in the back-office
description: A description of the content type for the editors

# Slug of field used to identify entries by default, such as the title
label_field_name: name

# Valid values: manually, created_at, updated_at, or the slug of any field
order_by: manually

# Valid values: asc (ascending) and desc (descending). Set to asc by default.
# order_direction: asc

# Specify a field slug to group entries by that field in the back-office.
# group_by: <your field>

# Activate public 'create' API (e.g for a contact form)
public_submission_enabled: true

# Array of emails to be notified of new entries made with the public API
# public_submission_accounts: ['john@example.com']

# A list describing each field
fields:
- name: # The lowercase, underscored name of the field
    label: Name # Human readable name of the field
    type: string
    required: true
    hint: Explanatory text displayed in the back office
    localized: false

- email: # The lowercase, underscored name of the field
    label: Email # Human readable name of the field
    type: email
    required: false
    hint: Explanatory text displayed in the back office
    localized: false

- phone: # The lowercase, underscored name of the field
    label: Phone # Human readable name of the field
    type: string
    required: false
    hint: Explanatory text displayed in the back office
    localized: false

- message: # The lowercase, underscored name of the field
    label: Message # Human readable name of the field
    type: text
    required: false
    hint: Explanatory text displayed in the back office
    localized: false
    # text_formatting: html # html (uses rich text editor) or text (uses plain text editor)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
locomotivecms-3.0.0.pre.alpha.2 spec/fixtures/portfolio/app/content_types/messages.yml
locomotivecms-3.0.0.pre.alpha spec/fixtures/portfolio/app/content_types/messages.yml