view 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
line wrap: on
line source

[%
	labels(
		Title = 'Change password'
		BtnSubmit = 'Change',
		SuccessMessage = 'Пароль для пользователя %name% успешно изменен!'
	);
    document.title = Title;
	render('pagemenu');
	
	IF result.complete;
%]
	<h3 class='success'>
    	[% SuccessMessage(model) %] 
	</h3>
[%	
	ELSE;
		display_model(
			result,
			'dojo/form',
			layout = {
				content = 'form/box',
				args = {
					title = Title,
					buttons = [ { type = 'submit', text = BtnSubmit } ]
				}
			}
		);
	END;
%]