File: editprofile.yml

package info (click to toggle)
libmojomojo-perl 1.11%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,496 kB
  • ctags: 927
  • sloc: perl: 14,671; sh: 148; xml: 120; makefile: 8; ruby: 6
file content (40 lines) | stat: -rw-r--r-- 779 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
load_config_file: __path_to(root/forms/defaults.yml)__
id: editprofile

elements:
  - type: Text
    name: name
    label_loc: Name
  - type: Date
    name: born
    label_loc: Birth Date
    auto_inflate: 1
    year:
      less: 70
      plus: 0
  - type: Select
    name: gender
    label_loc: Gender
    options:
        - [ 'm', 'Male' ]
        - [ 'f', 'Female' ]
        - [ '?', 'Rather not say' ]
  - type: Text
    name: timezone
    label_loc: Timezone
  - type: Text
    name: industry
    label_loc: Industry
  - type: Textarea
    name: interests
    label_loc: Interests
  - type: Textarea
    label_loc: Favorite Albums
    name: music
  - type: Textarea
    name: movies
    label_loc: Favorite Movies
  - type: Submit
    name: submit
    value_loc: Update