File: hashref_multi_within_rep.yml

package info (click to toggle)
libhtml-formfu-perl 0.09007-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,184 kB
  • sloc: perl: 13,186; makefile: 9; sql: 5
file content (35 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (6)
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
28
29
30
31
32
33
34
35
---
elements:
  - type: Hidden
    name: id
  - type: Text
    name: title
  - type: Hidden
    name: count
  - type: Select
    name: select
    options:
        - [0, 1]
        - [1, 2]
  - type: Repeatable
    nested_name: recall_schedules
    counter_name: count
    model_config:
      new_empty_row_multi: start
    elements:
      - type: Multi
        name: start
        deflators:
          - type: Strftime
            strftime: '%d.%m.%Y %R'
        inflators:
          - type: DateTime
            parser:
              strptime: '%d.%m.%Y %H:%M'
        elements:
          - type: Text
            name: startdate
          - type: Text
            name: starttime
      - type: Hidden
        name: id