view view/site/user/passwd.tt @ 11:573272ec604b

almost comlete doxygen library
author sergey
date Thu, 15 May 2014 18:24:02 +0400
parents
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;
%]