Mercurial > pub > site.implab
view schemas/form.types.xml @ 14:d997ff96acf1
sync
author | sergey |
---|---|
date | Mon, 19 May 2014 18:34:16 +0400 |
parents | fa7a99c2d079 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <schema> <SimpleType template="dojo/form/DateTextBox" type="date" inflator="Benzin::DateTime::Inflator.parse_date" messageInflateError="ID:InvalidDateFormat" /> <SimpleType type="text" template="dojo/form/Input" inputType="text" /> <SimpleType type="password" template="dojo/form/Input" inputType="password" /> <SimpleType type="email" template="dojo/form/Input" inputType="text" /> <SimpleType type="login" template="dojo/form/Input" inputType="text"> <RegExp message="ID:InvalidLoginFormat">^\w+$</RegExp> </SimpleType> <SimpleType type="password_retype" inputType="password" template="dojo/form/Input"> <Compare op="eq" message="ID:PasswordDoesntMatch" nodePath="siblings:*[nodeName eq '%source.linkedField%']" /> </SimpleType> </schema>