Sha256: 835da504585589beee30acdaefb7fda244deadfffafa6602376bc092ab813107

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

## Form for retrieveng poll results
---
table: dc_poll_result

index:
  actions:
    10: 
      type: field
      name: dc_poll_id

    30: 
      type: field
      name: start_date
      field_type: date_picker
        
    40: 
      type: field
      name: end_date
      field_type: date_picker
      options: 
        openOnFocus: false
        
    50: 
      type: ajax
      caption: drgcms.filter_poll
      title: drgcms.filter_poll_title
      icon: filter
      controller: cmsedit
      action: run
      control: dc_poll_result.do_filter
      method: post
    
    60: 
      type: ajax
      caption: drgcms.export_poll
      title: drgcms.export_poll_title
      controller: cmsedit
      icon: table
      action: run
      control: dc_poll_result.do_export
      method: post
    
result_set:
  actions: standard
  filter: poll_filter

  columns:
    10:  
      name: dc_poll_id
      eval: dc_name4_id,dc_poll,name
      width: 25%
    20: 
      name: created_at
      format: '%d.%m.%Y %H:%M'
      width: 10%

form:
  actions: 
    1: back
    2: save&back
      
  fields:
    10:
      name: dc_poll_id
      type: select
      eval: "dc_choices4('dc_poll','name','_id')"
    20:
      name: data
      type: text_area
      size: 100x25
    30:
      name: created_at
      type: readonly
      format: '%d.%m.%Y %H:%M'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
drg_cms-0.6.0.6 app/forms/dc_poll_result.yml