Sha256: 4a3240f62bc4845d6426ca9db095400b54d9843c4af6f746fd24955da11d116d

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

## YAML Template for page
---
table: dc_category

index:
  filter: name, description, ctype, parent
  actions: standard

result_set:
  actions: 
    1: edit
    2: delete

  columns:
    1:  
      name: name
    2: 
      name: updated_at
    3: 
      name: active
      eval: dc_icon4_boolean      

form:
  title: 
    field: name
    
  actions: 
    standard: yes

  fields:

    10:
      name: name
      type: text_field
      html:
        size: 30
    20:
      name: description
      type: text_field
      html:
        size: 100
    30:
      name: ctype
      type: select
      eval: "DcCategory.choices4_ctype(@parent.dc_get_site)"

    40:
      name: order
      type: text_field
      html:
        size: 5
    50:
      name: parent
      type: select
      eval: DcCategory.values_for_parent
      html:
        include_blank: true
    60:
      name: dc_site_id
      type: select
      eval: DcSite.choices4_site
      html:
        include_blank: true

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
drg_cms-0.5.50.2 app/forms/dc_category.yml