Sha256: 4719029cfce04e8d8a23dbe76c7f458efe22197cbce2990b597c5b617fbc3eb1

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

## YAML Template for dc_simple_menu_items
---
title: Menu item
#parent_name: caption
table: dc_menu_item

index:
  actions:
    1: new

result_set:
  actions: 
    1: edit
    2: delete

  columns:
    1:  
      name: caption
      style: "text-align: left;"
    2: 
      name: link
      style: "text-align: left;"

    3: 
      name: order
      style: "text-align: right;"

edit_title: caption

form:
  actions: standard

  tabs:
    tab1:
      10:
        name: caption
        type: text_field
        html:
          size: 30
      20:
        name: picture
        type: file_select
        html:
          size: 50
      30:
        name: link
        type: text_with_select
        eval: '@parent.dc_page_class.all_pages_for_site(@parent.dc_get_site)'
        html:
          size: 50
  #
  #    30:
  #      name: link
  #      type: text_field
  #      html:
  #        size: 50
      40:
        name: target
        type: text_field
        html:
          size: 10
      50:
        name: order
        type: text_field
        html:
          size: 2
      80:
        name: policy_id
        type: select
        eval: dc_choices4_site_policies
        html:
          include_blank: true
    tab2:
      10:
        name: dc_menu_items
        type: embedded
        formname: dc_menu_item
        html:
          height: 1000

  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
drg_cms-0.4.39 app/forms/dc_menu_item.yml