Sha256: b18c8e0b0a22af89701e0c16ce82a3862bedbb51b5f4e627491d28eb9fe216ad

Contents?: true

Size: 1.97 KB

Versions: 1

Compression:

Stored size: 1.97 KB

Contents

## YAML Template for Polls
---
table: dc_poll

index:
  filter: name, title
  actions: standard

result_set:
  actions: 
    1: edit
    2: 
      type: duplicate
      dup_fields: name

    3: delete

  columns:
    1:  
      name: name
    2:  
      name: title
      width: 40%
    3: 
      name: valid_from
    4: 
      name: valid_to

form:
  title: 
    field: description
    
  actions: standard

  tabs:
    tab1:
      10:
        name: name
        type: text_field
        html:
          size: 50

      20:
        name: title
        type: text_field
        html:
          size: 50

      30:
        name: sub_text
        type: html_field
        options: 'height: 400'

      35:
        name: pre_display
        type: text_field
        html:
          size: 50
      40:
        name: operation
        type: select

      50:
        name: parameters
        type: text_field
        html:
          size: 50

      60:
        name: display
        type: select

      70:
        name: captcha_type
        type: text_field
        html:
          size: 10

      80:
        name: valid_from
        type: datetime_picker
        options:
          include_blank: true
        group: 2

      90:
        name: valid_to
        type: datetime_picker
        options:
          include_blank: true

      100:
        name: css
        type: text_area
        html:
          size: 100x20

      110:
        name: active
        type: check_box
    tab2:
      10:
        name: js
        type: text_area
        html:
          size: 100x50
          style: 'font-family:courier;'
    tab3:
      20:
        name: dc_poll_items
        type: embedded
        form_name: dc_poll_item
        html:
          height: 800      
    tab4:
      10:
        name: form
        type: text_area
        html:
          size: 100x50
          style: 'font-family:courier;'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
drg_cms-0.6.0.8 app/forms/dc_poll.yml