File: defaults.yml

package info (click to toggle)
libmojomojo-perl 1.05%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,524 kB
  • sloc: perl: 14,699; sh: 145; xml: 120; makefile: 8; ruby: 6
file content (25 lines) | stat: -rw-r--r-- 731 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
---
auto_fieldset: 1
# indicator not set as it breaks registration test in t/c/email.t
# indicator: submit
localize_class: MojoMojo::I18N

# If not set, missing error messages will default to their keys (e.g. "form_constraint_word"), not the corresponding values (e.g. 'Field contains non-word characters')
localize: 1

# overridden in most forms, but required for auto_id
id: form

# ensure checkboxes + radio buttons have an ID
# so the label gets a for="" attribute
# which makes the whole label clickable
auto_id: "%f_%n"

# 'group' elements - multiple input fields with the same name
# ensure they get unique IDs
default_args:
  elements:
    Radiogroup:
      auto_id: "$f_%n_%c"
    Checkboxgroup:
      auto_id: "%f_%n_%c"