10
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2 <schema>
|
|
3 <Include src="forms.schema"/>
|
|
4 <Form
|
|
5 dataObject="App::Data::User"
|
|
6 dataPolicy="AddOrUpdate"
|
|
7 messageMin="Вы не заполнили %Node.formLabel.%"
|
|
8 >
|
|
9 <EditBox nodeName="Name"
|
|
10 formLabel="Имя"
|
|
11 formLabel.blame="имя"
|
|
12 formLabel.no="имени"
|
|
13 />
|
|
14 <EditBox nodeName="Nick"
|
|
15 formLabel="Прозвище"
|
|
16 formLabel.no="прозвища"
|
|
17 minOccur="0"
|
|
18 >
|
|
19 <RegExp>\w{4,10}</RegExp>
|
|
20 </EditBox>
|
|
21 <ListBox nodeName="Role"
|
|
22 dataObject="App::Data::Role"
|
|
23 dataSource="roles"
|
|
24 formLabel="Роль"
|
|
25 formLabel.blame="роль"
|
|
26 />
|
|
27 </Form>
|
|
28 </schema>
|
|
29
|