First commit

This commit is contained in:
Pierre Hubert
2016-11-19 12:08:12 +01:00
commit 990540b2b9
4706 changed files with 931207 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
rules:
name:
pattern: "[A-Z][a-z]+"
min: 3
max: 15
form:
validation: loose
fields:
text:
type: text
label: Text
placeholder: 'Enter your text'
enabled:
type: select
label: Enabled
default: true
data-options@: blueprint_data_option_test
user.name:
type: name
label: Name
default: John
validate:
type: name
user.country:
type: select
label: Enabled
default: fi
data-options@:
- blueprint_data_option_test
- { us: 'United States', fi: 'Finland', po: 'Poland' }
- true
undefined:
type: select
label: Undefined
data-options@: undefined_function

View File

@@ -0,0 +1,17 @@
extends@: parent@
form:
fields:
enabled:
default: false
text:
default: My text
ordering@: enabled
user.name:
default: Joe
unset-validate@: true
undefined:
unset@: true

View File

@@ -0,0 +1,4 @@
form:
fields:
address:
import@: partials/address

View File

@@ -0,0 +1,17 @@
form:
fields:
user.address:
type: text
label: Address
user.zip:
type: text
label: ZIP code
user.city:
type: text
label: City
user.country:
type: text
label: Country