view view/site/user/passwd.tt @ 16:e69c970c3ddd default tip

sync
author sergey
date Tue, 20 May 2014 01:28:48 +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;
%]