view schemas/form.types.xml @ 10:83ad674a8cdd

updated styles
author sergey
date Thu, 15 May 2014 01:51:42 +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>