view view/site/user/passwd.tt @ 14:d997ff96acf1

sync
author sergey
date Mon, 19 May 2014 18:34:16 +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;
%]