Mercurial > pub > site.implab
annotate view/site/user/passwd.tt @ 16:e69c970c3ddd default tip
sync
author | sergey |
---|---|
date | Tue, 20 May 2014 01:28:48 +0400 |
parents | 573272ec604b |
children |
rev | line source |
---|---|
11 | 1 [% |
2 labels( | |
3 Title = 'Change password' | |
4 BtnSubmit = 'Change', | |
5 SuccessMessage = 'Пароль для пользователя %name% успешно изменен!' | |
6 ); | |
7 document.title = Title; | |
8 render('pagemenu'); | |
9 | |
10 IF result.complete; | |
11 %] | |
12 <h3 class='success'> | |
13 [% SuccessMessage(model) %] | |
14 </h3> | |
15 [% | |
16 ELSE; | |
17 display_model( | |
18 result, | |
19 'dojo/form', | |
20 layout = { | |
21 content = 'form/box', | |
22 args = { | |
23 title = Title, | |
24 buttons = [ { type = 'submit', text = BtnSubmit } ] | |
25 } | |
26 } | |
27 ); | |
28 END; | |
29 %] |