diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/view/site/user/passwd.tt	Thu May 15 18:24:02 2014 +0400
@@ -0,0 +1,29 @@
+[%
+	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;
+%]