File: form1.yml

package info (click to toggle)
libhtml-formhandler-perl 0.40057-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,320 kB
  • ctags: 685
  • sloc: perl: 8,849; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (5)
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
action: /login
name: login_form
tt_template: form.tt
field_list:
    - name: user
      type: Text
      label: Username
      required: 1
      wrapper_attr:
          class: 'text label'
    - name: pass
      type: Password
      label: Password
      required: 1
      wrapper_attr:
          class: 'password label'
    - name: opt_in
      type: Checkbox
      label: Opt in?
      wrapper_attr:
          class: 'checkbox label'
    - name: submit
      type: Submit
      value: Login
      label: ~
      wrapper_attr:
          class: 'submit'