Mercurial > pub > site.implab
annotate 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 |
rev | line source |
---|---|
11 | 1 [% |
2 BLOCK INIT; | |
3 document.dojo.modules.push("dijit/form/ValidationTextBox"); | |
4 END; | |
5 IF metadata.inputType == 'password'; | |
6 value = ''; | |
7 ELSE; | |
8 value = metadata.inputValue; | |
9 END; | |
10 %] | |
11 <input data-dojo-type="dijit/form/ValidationTextBox" id="$id" name="$prefix" type="$metadata.inputType" [% IF NOT metadata.isOptional %]required="true"[% END %] value="$value" /> |