File: constraint_autoset.yml

package info (click to toggle)
libhtml-formfu-model-dbic-perl 0.06000-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,252 kB
  • ctags: 147
  • sloc: perl: 2,112; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
auto_fieldset: 1

elements:
  - type: Hidden
    name: id
  
  - type: Text
    name: text_col
  
  - type: Select
    name: type
    model_config:
      options_from_model: 1
    constraint:
      - AutoSet
  
  - type: Select
    name: type2_id
    model_config:
      resultset: Type2
    constraint:
      - AutoSet
  
  - type: Submit
    name: submit