Sha256: 0745f63f8821d76934fdaa1fbcb5ab4c5ac425cc66a4da6b1e416844fc71a37f

Contents?: true

Size: 930 Bytes

Versions: 4

Compression:

Stored size: 930 Bytes

Contents

## Registration form. Not yet implemented.
---
table: dc_memory
title: Browse collection models
controls: browse_models
permissions:
  can_view: admin

index:
  actions:
    10:
      type: field
      name: filter
      field_type: text_field
      caption: Filter
      size: 10


result_set:
  filter: collections

  dblclick:
    type: link
    table: dc_memory
    form_name: dc_browse_fields
    action: index

  columns:
    10:   
      name: id
      caption: Collection
      td_style: 'font-weight: bold;'

    20:  
      name: description
      caption: Decription

script: '
$(document).ready( function() {
  $("#record_filter").keydown( function(e) {
    if (e.which == "13" || e.which == "9") {
      let url = "/cmsedit?form_name=dc_browse_models&table=dc_memory&filter=" + this.value;
      window.location.href = url;
      e.preventDefault();
    };
  });
});
'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
drg_cms-0.7.1.1 app/forms/dc_browse_models.yml
drg_cms-0.7.0.8 app/forms/dc_browse_models.yml
drg_cms-0.7.0.2 app/forms/dc_browse_models.yml
drg_cms-0.6.1.11 app/forms/dc_browse_models.yml