File: has_many_repeatable.yml

package info (click to toggle)
libhtml-formfu-model-dbic-perl 2.03-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,148 kB
  • sloc: perl: 1,429; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 331 bytes parent folder | download | duplicates (3)
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
27
---
auto_fieldset: 1

elements:
  - type: Hidden
    name: id

  - type: Text
    name: name

  - type: Repeatable
    nested_name: addresses
    counter_name: count

    elements:
      - type: Hidden
        name: id

      - type: Text
        name: address

  - type: Hidden
    name: count

  - type: Submit
    name: submit