Mercurial > pub > site.implab
annotate view/site/user/passwd.tt @ 13:a9ce584a7f3b
test for mercurial repositories
author | sergey |
---|---|
date | Mon, 19 May 2014 04:34:28 +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 %] |