diff shared_view/includes/dojo/form/Input.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/shared_view/includes/dojo/form/Input.tt	Thu May 15 18:24:02 2014 +0400
@@ -0,0 +1,11 @@
+[%
+	BLOCK INIT;
+    	document.dojo.modules.push("dijit/form/ValidationTextBox");
+    END;
+    IF metadata.inputType == 'password';
+    	value = '';
+    ELSE;
+    	value = metadata.inputValue;
+    END;
+%]
+<input data-dojo-type="dijit/form/ValidationTextBox" id="$id" name="$prefix" type="$metadata.inputType" [% IF NOT metadata.isOptional %]required="true"[% END %] value="$value" />
\ No newline at end of file